

# We can implement a LIFO (Last In First Out) Queue using the append and pop list methods.

stack = ["python", "selenium", "hello"]
element = None
second_element = None

# add an element to the end of the list


print (stack)

# retrieve the last item from list


print(stack)
print(element)

# retrieve the last item from list


print(stack)
print(second_element)


# add an element to the end of the list


print(stack)
