Adopted new convention from template
This commit is contained in:
1 parent
86f325f863
commit
67b0f93a17
1 file changed
+1
@@ -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))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user