'''lecture16_loops.py
Review two ways to loop thru a list
Oliver W. Layton
CS 151: Computational Thinking: Visual Media
Fall 2020
'''

myList = ['a', 'b', 'c']

print('Method 1:')

# Method 1
for letter in myList:
    print(letter)

print('Method 2:')

# Method 2
for i in range(len(myList)):
    print(myList[i])
