"""Author : Gilbert Kimetto
   Purpose: Example of a stack in python.
   
   """
   
# Try out stack functions
# TODO: create a new empty stack
stack = []
# TODO: push items on the stack
stack.append(1)
stack.append(2)
stack.append(3)
stack.append(4)
# TODO: print out the stack contents
print(stack)
# TODO pop an item off the stack
x =stack.pop()
print("Poppng ",x)
print(stack)
