You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env python3
|
|
|
|
with open('input.txt', 'r') as f:
|
|
in_list = f.readlines()
|
|
|
|
|
|
in_list = [x.strip() for x in in_list]
|
|
|
|
in_list = [int(x) for x in in_list]
|
|
print(sum(in_list))
|