index
:
Project_Euler_Solutions.git
master
Some solutions to the beginning problems on Project Euler
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
sumexp.py
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'sumexp.py')
-rw-r--r--
sumexp.py
4
1 files changed, 2 insertions, 2 deletions
diff --git a/sumexp.py b/sumexp.py
index 7e4a1f1..90dd2da 100644
--- a/
sumexp.py
+++ b/
sumexp.py
@@ -5,6 +5,6 @@ strn = str(n)
s = 0
for i in strn:
- s+=int(i)
+ s += int(i)
-print s
+print(s)