Created
April 1, 2017 05:03
-
-
Save aadimator/e5b79858b3b95f2826e579b97b5aa0be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n = int(input().strip()) | |
arr = [int(arr_temp) for arr_temp in input().strip().split(' ')] | |
print(sum(arr)) |
Can someone explain to me the second line of code I am pretty much new to this?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I getting followin error when run the above code...any idea why ?
C:\Users\d>new4.py
Traceback (most recent call last):
File "C:\Users\d\new4.py", line 1, in
n = int(input().strip())
File "", line 0
SyntaxError: unexpected EOF while parsing
C:\Users\d>