how to use a for loop to get a number 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: for loop from n to 1 in python
range(10, 0, -1)
for i in range(1,2,3): #you can change 1,2,3
print(i)
range(10, 0, -1)