Ligue para um range Python () usando range (start, stop, step)

# welcome to softhunt.net
# Python program to
# print all number
# divisible by 5 and 7

# using range to print number
# divisible by 5
print('divisible by 5: ')
for i in range(0, 30, 5):
	print(i, end=" ")
print()

# using range to print number
# divisible by 7
print('divisible by 7: ')
for i in range(0, 50, 7):
	print(i, end=" ")
print()
Outrageous Ostrich