Python Pop Quiz - List Popping
The Python list data type is much like an array in other programming languages. The list includes many different methods. You can get a full listing of those methods like this:
my_list = []
print(dir(my_list))One of those methods is called pop(). You can pass an index of the item you want to pop from the list (if you don’t, the last item is chosen). That…


