Диапазон Python () назад

# welcome to softhunt.net
# decremented by 4
print('decremented by 4: ')
for i in range(15, 2, -4):
	print(i, end=" ")
print()

# decremented by 3
print('decremented by 3: ')
for i in range(15, 2, -3):
	print(i, end=" ")
print()

# decremented by 2
print('decremented by 2: ')
for i in range(15, 2, -2):
	print(i, end=" ")
print()
Outrageous Ostrich