Adopted new convention from template
This commit is contained in:
@@ -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