From d671105d791d5ab6887e1f006453b12c8fb6395d Mon Sep 17 00:00:00 2001 From: daviddoji Date: Mon, 26 Sep 2022 20:55:03 +0200 Subject: [PATCH] Adopted new convention from template --- src/Python/Problems001-050/Problem020.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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__":