Unified numbers and output
This commit is contained in:
@@ -5,14 +5,14 @@ Created on 11 Sep 2019
|
||||
@author: David Doblas Jiménez
|
||||
@email: daviddoji@pm.me
|
||||
|
||||
Solution for problem 25 of Project Euler
|
||||
Solution for problem 025 of Project Euler
|
||||
https://projecteuler.net/problem=25
|
||||
"""
|
||||
|
||||
from utils import timeit
|
||||
|
||||
|
||||
@timeit("Problem 25")
|
||||
@timeit("Problem 025")
|
||||
def compute():
|
||||
"""
|
||||
The Fibonacci sequence is defined by the recurrence relation:
|
||||
@@ -50,4 +50,4 @@ def compute():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(f"Result for Problem 25 is {compute()}")
|
||||
print(f"Result for Problem 025: {compute()}")
|
||||
|
||||
Reference in New Issue
Block a user