
#
# Using Lists as Stacks
#

stack = [2,3,4,5]
print(stack)
# insert into stack
stack.append(6)
stack.append(7)
#
print(stack)

# pop from stack
stack.pop()
print(stack)
#
stack.pop()
print(stack)
#
stack.pop()
print(stack)
