for python i:j code example
Example 1: for python
for x in "banana":
print(x)
Example 2: for pyton
for i in range(n):
#instruction
# other instruction out of the loop
for x in "banana":
print(x)
for i in range(n):
#instruction
# other instruction out of the loop