Fixed name creation
This commit is contained in:
parent
ad69c8424a
commit
b7be53d5c5
@ -46,6 +46,6 @@ if __name__ == '__main__':
|
|||||||
parser.add_argument("-p", "--problem",
|
parser.add_argument("-p", "--problem",
|
||||||
help="number of the problem to solve")
|
help="number of the problem to solve")
|
||||||
args = vars(parser.parse_args())
|
args = vars(parser.parse_args())
|
||||||
Problem = "Problem" + args['problem'] + ".py"
|
Problem = f"Problem{(args['problem']):0>3}.py"
|
||||||
create_problem()
|
create_problem()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user