Question: PYTHON PROGRAM Create a string with your firstname , lastname and age , just like in the first week of the class, but this time

PYTHON PROGRAM

Create a string with your firstname, lastname and age, just like in the first week of the class, but this time using the string formatting discussed on the previous slides and refer to the values by name, the output should be similar to the following:

Name:

Age:

Using your solution from above question, modify your code to create a file and log all of the output when running the program to a text file.

Your code should log all of the print statements of your program until the user has quit the application.

A new file log could be created for each instance of the run

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!