by CodeChum Admin
Numbers in threes are awesome! But the one last time was too lengthy to look at, so I just want to view it in a shorter but still readable format.
You okay with this task?
Instructions:
Output
A line containing integers divisible by 3 separated by a space.
3 6 9 12 15 18 21 24...
for i in range(1,100):
if i%3==0:
print(i,end=" ")
Comments
Leave a comment