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:

Write a program in Python 3 that imports an "input.txt" text file

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

containing steps and outputs in the following format: and outputs a new

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!