"""
This is Lesson 25: Working with lists
Get Programming: Learn to Code With Python

This Quick Check is to practice the pop function, which removes an item from the list
pop() returns the item that is removed from the list
list_name.pop(i) removes the list element at index position i
"""

pi = ["3", ".", "1", "4", "1", "5", "9"]
pi.pop(1)   # removes the list element at index 1
print(pi)
pi.pop()    # removes the list element at the last index position
print(pi)
pi.pop()
print(pi)
