Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students also viewed these Databases questions

Question

1. Is this appropriate?

Answered: 1 week ago

Question

=+ How would you advise those problems be resolved?

Answered: 1 week ago