how to insert a print command for one time in for loops in python 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 num in range(5): # range(5) generates numbers from 0 to 4(inclusive)
print(num) # for each iteration num has value assigned by range function