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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started