Fix formatting for printing
This commit is contained in:
1 parent
dff609f634
commit
e086121975
1 file changed
+1
-1
@@ -35,7 +35,7 @@ def create_problem():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
print(f"Result for Problem {args['problem']}: {{compute()}}")
|
print(f"Result for Problem {{int({args['problem']}):003d}}: {{compute()}}")
|
||||||
''')
|
''')
|
||||||
|
|
||||||
f.write(template)
|
f.write(template)
|
||||||
|
|||||||
Reference in new issue
Block a user