Fix typo in problem number

This commit is contained in:
David Doblas Jiménez 2021-10-04 19:45:59 +02:00
parent 27db31821a
commit 012480f7a3

View File

@ -5,14 +5,14 @@ Created on 24 Sep 2021
@author: David Doblas Jiménez
@email: daviddoji@pm.me
Solution for problem 52 of Project Euler
https://projecteuler.net/problem=52
Solution for problem 51 of Project Euler
https://projecteuler.net/problem=51
"""
from utils import timeit, list_primes, is_prime
@timeit("Problem 52")
@timeit("Problem 51")
def compute():
"""
By replacing the 1st digit of the 2-digit number *3, it turns out that
@ -55,4 +55,4 @@ def compute():
if __name__ == "__main__":
print(f"Result for Problem 52: {compute()}")
print(f"Result for Problem 51: {compute()}")