$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #218

What goes in the blank?

# remove and return the last item
last = stack.____()

Answer: pop (also accepted: pop, pop())

list.pop() removes and returns the final element — a stack pop.
Play Problem Solving ▸