for i loop print code example
Example 1: how to add for loop in python
for i in range(1,2,3): #you can change 1,2,3
print(i)
Example 2: python for loop
#for loop without passing a argument
for _ in range(3):
print("Hello")
for i in range(1,2,3): #you can change 1,2,3
print(i)
#for loop without passing a argument
for _ in range(3):
print("Hello")