Step-by-step explanation:
0
3
6
9
12
def print_multiples(n):
for i in range(n):
if i % 3 == 0 and i != 0:
print(i)
num = int(input("Enter a positive integer: "))
print_multiples(num)
9.5m questions
12.2m answers