Adopted new convention from template
This commit is contained in:
@@ -27,9 +27,9 @@ def compute():
|
||||
"""
|
||||
|
||||
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__":
|
||||
|
||||
Reference in New Issue
Block a user