Python Range incrémente avec la plage en utilisant une étape positive
# welcome to softhunt.net
# incremented by 4
print('incremented by 4: ')
for i in range(2, 15, 4):
print(i, end=" ")
print()
# incremented by 3
print('incremented by 3: ')
for i in range(2, 15, 3):
print(i, end=" ")
print()
# incremented by 2
print('incremented by 2: ')
for i in range(2, 15, 2):
print(i, end=" ")
print()
Outrageous Ostrich