Advertisement
dkyoseff

For Loop - Lab / 02. Numbers 1...N with Step 3

Jul 28th, 2022
1,020
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.08 KB | None | 0 0
  1. number = int(input())
  2.  
  3. for number in range(1, number+1, 3):
  4.     print(number)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement