Instructions
Write a program that uses a while loop to calculate and print the multiples of 3 from 3 to 21. Your program should print each number on a separate
line.
Expected Output
3
6
9
12
15
18
21

Respuesta :

Answer:

num = int(input('1'))

while num < 21:

   num = num * 3

   print(num)

i think this is correct, but i only know some basics to python.