Unified numbers and output
This commit is contained in:
@@ -5,7 +5,7 @@ Created on 08 Apr 2021
|
||||
@author: David Doblas Jiménez
|
||||
@email: daviddoji@pm.me
|
||||
|
||||
Solution for problem 36 of Project Euler
|
||||
Solution for problem 036 of Project Euler
|
||||
https://projecteuler.net/problem=36
|
||||
"""
|
||||
|
||||
@@ -16,7 +16,7 @@ def is_palidrome(num):
|
||||
return str(num) == str(num)[::-1]
|
||||
|
||||
|
||||
@timeit("Problem 36")
|
||||
@timeit("Problem 036")
|
||||
def compute():
|
||||
"""
|
||||
The decimal number, 585 = 1001001001_2 (binary), is palindromic
|
||||
@@ -35,4 +35,4 @@ def compute():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(f"Result for Problem 36 is {compute()}")
|
||||
print(f"Result for Problem 036: {compute()}")
|
||||
|
||||
Reference in New Issue
Block a user