Question: PYTHON 3. The third program is named log_it(m) and logs a message, m, appending it to the end of a text file. The log file
PYTHON
3. The third program is named log_it(m) and logs a message, m, appending it to the end of a text file.
The log file must be named tax_log.txt
The old messages must be preserved, meaning the file gets longer and longer each time log_it(m) is called.
Remember to open and close the file at the start and end of the function
Remember to append a new line to each message when writing the file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
