$ ./guess_the_language
Problem Solving — fill the blank
Problem Solving — fill the blank · medium · #50
Fill the deque method that removes from the left.
q = deque([1, 2, 3]) q.____() # removes 1
Answer:
popleft
(also accepted: popleft)
deque.popleft() removes and returns the leftmost item.
Play Problem Solving ▸
◂ #49
all Problem Solving — fill the blank questions
#51 ▸