Open
Description
Consider to have a stack obtained by processing, one by one, the elements included in the list of the first exercise, i.e. my_stack = deque(["Draco", "Harry", "Hermione", "Ron", "Severus"])
. Describe the status of my_stack
after the execution of each of the following operations: my_stack.pop()
, my_stack.pop()
, my_stack.append("Voldemort")
.