BbJLeB

02. Numbers 1...N with Step 3

Jun 3rd, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. # 02. Numbers 1...N with Step 3
  2.  
  3. n = int(input())
  4. for i in range (1 ,n+1, 3):
  5.     print(i)
Add Comment
Please, Sign In to add comment