diff --git a/src/Python/Problem056.py b/src/Python/Problem056.py index ca77dd4..937e978 100644 --- a/src/Python/Problem056.py +++ b/src/Python/Problem056.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python """ Created on 07 Oct 2021 @@ -26,7 +26,7 @@ def compute(): ans = 0 for a in range(100): for b in range(100): - num = sum([int(digit) for digit in str(a ** b)]) + num = sum([int(digit) for digit in str(a**b)]) if num > ans: ans = num @@ -34,5 +34,4 @@ def compute(): if __name__ == "__main__": - - print(f"Result for Problem 56: {compute()}") + print(f"Result for Problem 56 is {compute()}")