For
For Loop
for letter in "giraffe academy":
print(letter)
friends = ["Jim", "Suzy", "Kevin"]
for name in friends:
print(name)
for index in range(10):
print(index) # prints 1-9 not including 10 so always increment upwards by 1
for letter in "giraffe academy":
print(letter)
friends = ["Jim", "Suzy", "Kevin"]
for name in friends:
print(name)
for index in range(10):
print(index) # prints 1-9 not including 10 so always increment upwards by 1