Mattia Spadoni

Results 24 comments of Mattia Spadoni

"​Harry"​, "​Draco"​, "​Hermione"​, ​"​Ron"​, "​Severus" dislike_harrypotter = list() dislike_harrypotter.append ("draco") dislike_harrypotter.append ("Harry") dislike_harrypotter.append ("Hermione") dislike_harrypotter.append ("Ron") dislike_harrypotter.append ("Severus") print dislike_harrypotter With the use of "sort" built-in function dislike_harrypotter = list()...

- my_stack = deque(["Draco", "Harry", "Hermione", "Ron", "Severus"]) - my_stack.pop #remove the fist element, in this case "Draco" my_stack = deque(["Harry", "Hermione", "Ron", "Severus"]) - my_stack.pop #remove the fist element,...

not (not true or false and true) or false - I phase: (do the "not" inside brackets) not (false or false and true) or false - II phase: (do the...

I had some problems with the correct syntax of summing something to the variable. But I checked it and now it works. P.S. I think that we don't need a...