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.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

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
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: Caleb@gmail.com
Salary:$ 5000
MENU ----
(1) Add Employee
(2) View all Employees
(0) Quit
Choice: 2
Transcribed Image 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: Caleb@gmail.com Salary:$ 5000 MENU ---- (1) Add Employee (2) View all Employees (0) Quit Choice: 2
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY