Advertisement
CR7CR7

wave

Apr 27th, 2022
1,002
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. n = int(input())
  2. for i in range(1,n+1):
  3.     print(i, end=" ")
  4. for j in range(n-1,0,-1):
  5.     print(j, end=" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement