列表和集合

from collections import deque

intStack = deque()
intStack.append(1)
intStack.append(3)
intStack.append(5)

first = intStack.pop()
# first is 5
second = intStack.pop()
# second is 3
third = intStack.pop()
# third is 1

print(f"{first = }")
print(f"{second = }")
print(f"{third = }")