Question: Using python 1. Write: A program that implements a logbook, recording the visitors to a place of interest and their visit's purpose. This log book
1. Write: A program that implements a logbook, recording the visitors to a place of interest and their visit's purpose. This log book could later be read by another program. Implement a function called log that takes one parameter, filename, the name of a file. You may assume the file is in the current working directory of the program. log should prompt the user for their name arid the nature of their visit. log should then append a line to the file named filename in the following format: 1 KNAME OF INDIVIDUAL>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
