first commit
This commit is contained in:
4
p16/solution.py
Normal file
4
p16/solution.py
Normal file
@@ -0,0 +1,4 @@
|
||||
def solution(n):
|
||||
return sum([int(d) for d in str(2**n)])
|
||||
|
||||
print(solution(1000))
|
||||
Reference in New Issue
Block a user