<gh_stars>0
#<NAME> 2018-02-22
#Looping through a list

squares = [1, 3, 9, 16, 25]

i = 0 
while i < len(squares):
    print(i, squares[i])
    i = i + 1

words = ['cat', 'window', 'defenestrate']
for w in words:
    print(w, len(w))

for i in range(len(words)):
    print(i, words[i], len(words[i]))


#<NAME> 2018-02-22
#Looping through a list

squares = [1, 3, 9, 16, 25]

i = 0 
while i < len(squares):
    print(i, squares[i])
    i = i + 1

words = ['cat', 'window', 'defenestrate']
for w in words:
    print(w, len(w))

for i in range(len(words)):
    print(i, words[i], len(words[i]))
#<NAME> 2018-02-22 #Looping through a list