SHARE
TWEET

Untitled

IT45200 Sep 20th, 2019 (edited) 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import sys
  2.  
  3. N = int(sys.argv[1])
  4.  
  5. if N > 0:
  6.     for i in range(N,0,-1):
  7.         print(str(i), end = ' ')
  8. else:
  9.     for i in range(N,0,1):
  10.         print(str(i), end = ' ')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top