Numbering modification
This commit is contained in:
parent
60fbe95ae2
commit
505258ca27
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
#!/usr/bin/env python
|
||||
"""
|
||||
Creation of templates for the problems of Project Euler
|
||||
"""
|
||||
@ -18,14 +18,14 @@ def create_problem():
|
||||
@author: David Doblas Jiménez
|
||||
@email: daviddoji@pm.me
|
||||
|
||||
Solution for problem {args['problem']} of Project Euler
|
||||
Solution for problem {args['problem']} from Project Euler
|
||||
https://projecteuler.net/problem={args['problem']}
|
||||
"""
|
||||
|
||||
from utils import timeit
|
||||
|
||||
|
||||
@timeit("Problem {args['problem']}")
|
||||
@timeit("Problem {(args['problem']):0>3}")
|
||||
def compute():
|
||||
"""
|
||||
# Statement
|
||||
@ -35,7 +35,7 @@ def create_problem():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(f"Result for Problem {args['problem']} is {{compute()}}")
|
||||
print(f"Result for Problem {(args['problem']):0>3} is {{compute()}}")
|
||||
'''
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user