Мой профиль
← Data Structures & AlgorithmsINTRO LESSON

Meet Data Structures & Algorithms

Read the example

Follow each line, then choose an answer. You can try again. Your result stays in this browser.

stack = []
stack.append("A")
stack.append("B")
print(stack.pop())

What does pop() return from this stack?

Back to course map