Moved more problems to Python.
This commit is contained in:
7
python/e016.py
Normal file
7
python/e016.py
Normal file
@@ -0,0 +1,7 @@
|
||||
def euler_016():
|
||||
s = sum(map(int, str(2**1000)))
|
||||
return s
|
||||
|
||||
|
||||
assert(euler_016() == 1366)
|
||||
print("e016.py: {}".format(euler_016()))
|
||||
Reference in New Issue
Block a user