Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- """
- strWhatIGotFromTheCommandLine = str(sys.argv)
- print(strWhatIGotFromTheCommandLine)
- """
- iHowManyInts = int(sys.argv[1])
- sum=0
- for n in range(iHowManyInts):
- sum+=n
- print (sum)
Add Comment
Please, Sign In to add comment