Do Now 2.06b
Rank the topics you find the most confusing:
Length of lists
Appending elements from a list
Indexing into Lists
Popping elements off a list
Slicing lists
Adding elements to a list
Creating lists
Removing elements from a list
Open up the terminal. How would you check if an item was in a three element list?
a = ['cats', 'dogs', 'pigs']
What if the list was much longer? Try typing in the following code:
a = ['cats', 'dogs', 'pigs']
print('dogs' in a)
print('cows' in a)