Advertisement
CR7CR7

wave

Apr 27th, 2022
743
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data Copied
Advertisement