Question: Write a program in Python 3 that imports an input.txt text file containing steps and outputs in the following format: and outputs a new output.txt
Write a program in Python 3 that imports an "input.txt" text file containing steps and outputs in the following format:

and outputs a new "output.txt" file containing the following text in the same format to the desktop:

1.The program must prompt the user to input the name and city, while automatically inputting the current date as the creation date. 2.The program must be able to utilize an input file with any number of steps and outputs, numbering them correctly in the steps section as well. The program must be able to pass a test input.txt file with dozens of steps and outputs in it.
12345678step:dothisstep0:outputonestep:dothisotherstep0:outputtwostep:dothisotherstepaswell0:outputthree name: x city: y creation date: z Steps: 1. do this step 2. do this other step 3. do this other step as well step "do this step" output \{ output one step "do this other step" output \{ output two s step "do this other step as well" output \{ output three \} End of text
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
