Zadzwoń do Python Range () za pomocą zakresu (stop)
# welcome to softhunt.net
# Python program to
# print whole number
# using range()
# printing first 5
# whole number
print('printing first 5: ')
for i in range(5):
print(i, end=" ")
print()
# printing first 10
# whole number
print('printing first 10 :')
for i in range(10):
print(i, end=" ")
print()
Outrageous Ostrich