Fix typo in problem number
This commit is contained in:
parent
27db31821a
commit
012480f7a3
@ -5,14 +5,14 @@ Created on 24 Sep 2021
|
|||||||
@author: David Doblas Jiménez
|
@author: David Doblas Jiménez
|
||||||
@email: daviddoji@pm.me
|
@email: daviddoji@pm.me
|
||||||
|
|
||||||
Solution for problem 52 of Project Euler
|
Solution for problem 51 of Project Euler
|
||||||
https://projecteuler.net/problem=52
|
https://projecteuler.net/problem=51
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from utils import timeit, list_primes, is_prime
|
from utils import timeit, list_primes, is_prime
|
||||||
|
|
||||||
|
|
||||||
@timeit("Problem 52")
|
@timeit("Problem 51")
|
||||||
def compute():
|
def compute():
|
||||||
"""
|
"""
|
||||||
By replacing the 1st digit of the 2-digit number *3, it turns out that
|
By replacing the 1st digit of the 2-digit number *3, it turns out that
|
||||||
@ -55,4 +55,4 @@ def compute():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
print(f"Result for Problem 52: {compute()}")
|
print(f"Result for Problem 51: {compute()}")
|
Loading…
x
Reference in New Issue
Block a user