For Loop
for letter in "Giraffe Academy": print(letter) //Output : G // i // r // a // f // f // e // // A // c // a // d // e // m // y
friends = ["Jim", "Karen", "Kevin"] for name in friends: print(name) //Output : Jim // Karen // Kevin
for index in range(10): print(index) //Output : 0 // 1 // 2 // 3 // 4 // 5 // 6 // 7 // 8 // 9
for index in range(3, 10): print(index) //Output : 3 // 4 // 5 // 6 // 7 // 8 // 9
friends = ["Jim", "Karen", "Kevin"] for index in range(len(friends)): print(friends[index]) //Output : Jim // Karen // Kevin
for index in range(5): if index == 0: print("First Iteration.") else: print("Not first.") //Output : First Iteration. // Not first. // Not first. // Not first. // Not first.