Respuesta :

In python:

i = 3

while i <= 21:

   if i % 3 == 0:

       print(i)

   i += 1

I hope this helps!