Question: Please code in Python: Implement a python script that will create a Dictionary of records representing a number of users who have requested access to

Please code in Python:

Implement a python script that will create a Dictionary of records representing a number of users who have requested access to one or more of the servers you manage as a System Administrator. Ideally, this might be implemented as an online form, but we are going to assume we have the information in some other form such as an email response. Imagine that our program commits those records to a database or other permanent storage. For now, we will just print a summary report. In a loop, the program will prompt the user (which is you) for a series of values which you will store in a Dictionary. As you start a new record, add the employee ID as an Integer to the Dictionary to act as the key. You should ensure that the employee ID has no duplicates (validate employee ID) .The value stored will be a List. By the end of the series of prompts, the program will have added the full record to a Dictionary. It will then ask if you want to enter another user record. If you answer "yes" or "Y" the program continues to prompt for the next record. If you enter anything other than "yes" or "Y" it will move to the next phase, which is to print a summary of all user records created in this run of the program. Your responses to the prompts are shown in bold font in the sample run below.The following is a sample run of the program with 3 records entered. When you test, create different numbers of records to be sure that it works correctly for 1 to n records. You can assume the user always creates at least one user record.

Sample Run:

./create_user_records.py

Enter the user's employee id: 678

Enter the user's first name: David

Enter the user's last name: Mann

Enter the user's department number: 44

Enter the user's supervisor (full name): Donald Clay

Enter the user's Linux account ID: Dmann1

Enter the user's temporary password: Sup0rM@n34$

Would you like to create another record (type yes or Y to continue): Y

Enter the user's employee id: 946

Enter the user's first name: Jackie

Enter the user's last name: toten

Enter the user's department number: 66

Enter the user's supervisor (full name): Cliff Red

Enter the user's Linux account ID: Jtoten33

Enter the user's temporary password: P@ssw0rd@

Would you like to create another record (type yes or Y to continue): N

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!