Python学习之For训练
for i in range(5):
print(i)
print('range 5 test over')
for l in range(1,9):
print(l)
print('range 1 to 9 test over')
for n in range(1,9,2):
print(n)
print('range 1 to 9 add 2 test over')
for i in range(5):
print(i)
print('range 5 test over')
for l in range(1,9):
print(l)
print('range 1 to 9 test over')
for n in range(1,9,2):
print(n)
print('range 1 to 9 add 2 test over')