In python:
i = 3
while i <= 21:
if i % 3 == 0:
print(i)
i += 1
I hope this helps!
5.2m questions
6.7m answers