Unified numbers and output

This commit is contained in:
2023-04-01 15:57:07 +02:00
parent e004055fb3
commit 220a742b6b
50 changed files with 188 additions and 179 deletions

View File

@@ -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()}")