number = 1
print("Multiples of 3 between 1 and 100")
while number < 100:
if number % 3 == 0:
print(number)
number += 1
print("Multiples of 7 between 1 and 100")
count = 1
while count < 100:
if count % 7 == 0:
print(count)
count += 1
Comments
Leave a comment