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