how to make a loop with iter python code example
Example 1: how to use iteration in python
for i = 1 to 10
<loop body>
Example 2: how to use iteration in python
n = 5
while n > 0:
print n
n = n-1
print 'Blastoff!'
for i = 1 to 10
<loop body>
n = 5
while n > 0:
print n
n = n-1
print 'Blastoff!'