Question: In Python, complete the attached code for PART A and PART B. In PART A , the program should display the records that are in

In Python, complete the attached code for PART A and PART B. In PART A, the program should display the records that are in the employees.txt file (please find the text file attached). The output of part A should be the following:

Name: Mike Jones ID: 4587 Dept: Cybersecurity Name: Jane Doe ID: 4588 Dept: Development Name: John Doe ID: 4589 Dept: Advertisement

In PART B, the program should allow the user to search the employees.txt file for records matching an employee name entered by the user. Please see the run sample belows:

Sample Run 1: Enter an employee name to search for: Julia Rich name: Jane Doe ID: 4588 Dept: Development 
Sample Run 2: 
Enter an employee name to search for: Greg Young name: John Doe ID: 4589 Dept: Advertisement 
 

Sample Run 3:

Enter an employee name to search for: Marcus That employee was not found in the file.

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!