Adopted new convention from template
This commit is contained in:
parent
86f325f863
commit
67b0f93a17
@ -19,6 +19,7 @@ def compute():
|
|||||||
|
|
||||||
What is the sum of the digits of the number 2^1000?
|
What is the sum of the digits of the number 2^1000?
|
||||||
"""
|
"""
|
||||||
|
|
||||||
n = 1000
|
n = 1000
|
||||||
return sum(int(digit) for digit in str(2**n))
|
return sum(int(digit) for digit in str(2**n))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user