# ---- Basic Example ----my_stack=Stack() # Initialize a stackprint(my_stack.is_empty())
my_stack.push("Book A") # Add to stackmy_stack.push("Book B")
print(my_stack.get_stack()) # Get the stackmy_stack.push("Book C")
print(my_stack.get_stack())
my_stack.pop() # Remove last addition from stackprint(my_stack.get_stack())
print(my_stack.is_empty()) # Get if stack is emptyprint(my_stack.peek()) # Get last addition from stack