Appelez une gamme Python () en utilisant la gamme (démarrer, arrêter)

# welcome to softhunt.net
# Python program to
# print natural number
# using range

# printing a natural
# number upto 20
print('printing a natural upto 20 :')
for i in range(1, 21):
	print(i, end=" ")
print()

# printing a natural
# number from 5 to 20
print('printing a natural from 10 to 20 :')
for i in range(10, 21):
	print(i, end=" ")
print()
Outrageous Ostrich