Advertisement
simeonshopov

Numbers from 1 to N with step 3

Oct 14th, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.06 KB | None | 0 0
  1. n = int(input())
  2.  
  3. for i in range(1, n+1, 3):
  4.   print(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement