diff --git a/src/Python/Problems001-050/Problem020.py b/src/Python/Problems001-050/Problem020.py index f04a2c0..231f00d 100644 --- a/src/Python/Problems001-050/Problem020.py +++ b/src/Python/Problems001-050/Problem020.py @@ -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__":