Numbering modification

This commit is contained in:
David Doblas Jiménez 2022-10-03 15:50:01 +02:00
parent 60fbe95ae2
commit 505258ca27

View File

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