Adopted new convention from template

This commit is contained in:
David Doblas Jiménez 2022-09-26 20:46:06 +02:00
parent 86f325f863
commit 67b0f93a17

View File

@ -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))