diff --git a/src/Python/Problem055.py b/src/Python/Problem055.py index 53fcafc..2c86469 100644 --- a/src/Python/Problem055.py +++ b/src/Python/Problem055.py @@ -9,7 +9,7 @@ Solution for problem 55 of Project Euler https://projecteuler.net/problem=55 """ -from utils import timeit, is_palidrome +from utils import timeit, is_palindrome @timeit("Problem 55") @@ -52,7 +52,7 @@ def compute(): is_lychrel = True for it in range(50): num += int(str(num)[::-1]) - if is_palidrome(num): + if is_palindrome(num): is_lychrel = False break if is_lychrel: