We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d085ea5 commit 9c7ec0dCopy full SHA for 9c7ec0d
project_euler/problem_13/sol2.py
@@ -0,0 +1,5 @@
1
+sum=0
2
+with open("num.txt",'r') as f:
3
+ for line in f:
4
+ sum += int(line)
5
+print(str(sum)[:10])
0 commit comments