Adopted new convention from template
This commit is contained in:
parent
5f36185d59
commit
14b665ed5a
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python
|
||||||
"""
|
"""
|
||||||
Created on 10 Oct 2021
|
Created on 10 Oct 2021
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ Solution for problem 58 of Project Euler
|
|||||||
https://projecteuler.net/problem=58
|
https://projecteuler.net/problem=58
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from utils import timeit, is_prime
|
from utils import is_prime, timeit
|
||||||
|
|
||||||
|
|
||||||
@timeit("Problem 58")
|
@timeit("Problem 58")
|
||||||
@ -52,5 +52,4 @@ def compute():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
print(f"Result for Problem 58 is {compute()}")
|
||||||
print(f"Result for Problem 58: {compute()}")
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user