For this week's assignment you will allow the user to add employee, view all employees, search employee by ssn, and edit employee information. Below this is what its supposed to look like when...


For this week's assignment you will allow the user to add employee, view all employees, search employee by ssn, and edit employee information. Below this is what its supposed to look like when completed. I have also included what I started to do but I can't figure out how to add the search by SSN option or the edit employee option. If you can give me a step by step on how to do this in python I would greatly appreciate it.



Choice: 1<br>Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64) ] on win32<br>Type >> #list >>> employeeName = [] >>> employeeSSN = [U >>> employeePhone = [] >>> employeeEmail = [] >>> employeeSalary = [] >>> count >>> while True: = 0 print ("\n---- MENU ----") ... print (" (1) Add Employee") print (" (2) View all Employees") print (" (0) Quit") ch = int (input ("Choice: ")) if ch == 1: print ("Enter Employee Information:") Name = input ("Name: ") SSN = input ("SSN: ") Phone = input ("Phone: ") Email = input ("Email: ") Salary = input ("Salary:$ ") #Adding Employee Information employeeName.append (Name) employeesSN.append (SSN) employeePhone.append (Phone) employeeEmail.append (Email) employeeSalary.append (Salary) ... count += 1 if ch == 2: print ("\nThere are (", count ,") employees in the system. ") for i in range (0, count) : print ("\nEmployee", (i+1)) ", employeeName [i], print ("--- print ("SSN: ", employeesSN[i]) print ("Phone: ", employeePhone [i]) ") print ("Email: ", employeeEmail[i]) print ("Salary:$ ", employeeSalary[i]) print ("- ---- MENU ---- (1) Add Employee (2) View all Employees (0) Quit Choice: l Enter Employee Information: Name: Caleb McConaughy SSN: 123123 Phone: (333) 777-6666 Email: [email protected] Salary:$ 5000 MENU ---- (1) Add Employee (2) View all Employees (0) Quit Choice: 2 "/>
Extracted text: Choice: 1 Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64) ] on win32 Type "help", "copyright", "credits" or "license ()" for more information. >>> #list >>> employeeName = [] >>> employeeSSN = [U >>> employeePhone = [] >>> employeeEmail = [] >>> employeeSalary = [] >>> count >>> while True: = 0 print ("\n---- MENU ----") ... print (" (1) Add Employee") print (" (2) View all Employees") print (" (0) Quit") ch = int (input ("Choice: ")) if ch == 1: print ("Enter Employee Information:") Name = input ("Name: ") SSN = input ("SSN: ") Phone = input ("Phone: ") Email = input ("Email: ") Salary = input ("Salary:$ ") #Adding Employee Information employeeName.append (Name) employeesSN.append (SSN) employeePhone.append (Phone) employeeEmail.append (Email) employeeSalary.append (Salary) ... count += 1 if ch == 2: print ("\nThere are (", count ,") employees in the system. ") for i in range (0, count) : print ("\nEmployee", (i+1)) ", employeeName [i], print ("--- print ("SSN: ", employeesSN[i]) print ("Phone: ", employeePhone [i]) ") print ("Email: ", employeeEmail[i]) print ("Salary:$ ", employeeSalary[i]) print ("- ---- MENU ---- (1) Add Employee (2) View all Employees (0) Quit Choice: l Enter Employee Information: Name: Caleb McConaughy SSN: 123123 Phone: (333) 777-6666 Email: [email protected] Salary:$ 5000 MENU ---- (1) Add Employee (2) View all Employees (0) Quit Choice: 2

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here