Adopted new convention from template
This commit is contained in:
parent
f829cce7fb
commit
d671105d79
@ -27,9 +27,9 @@ def compute():
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
fact = factorial(100)
|
fact = factorial(100)
|
||||||
sum_digits = sum(int(digit) for digit in str(fact))
|
ans = sum(int(digit) for digit in str(fact))
|
||||||
|
|
||||||
return sum_digits
|
return ans
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user