Utilize looping to make your Python script for Functionality 2 You should allow users to enter information for five employees at the same time, where the first employee information entry is saved in...


Utilize looping to make your Python script for Functionality 2 You should allow users to enter information for five employees at the same time, where the first employee information entry is saved in index [0] and the second entry is saved in index [1], and so on. You want to make sure to enforce the user to enter the following employee information: employeeName, employeeSSN, employeePhone, employeeEmail, employeeSalary. After the user finishes entering the last employee information, they should get a message to allow them to print specific employee information from the saved list. The user can enter values between 1 and 5, where 1 will return the employee information saved in the list index [0], 2 will return the employee information saved in the list index [1] and so on.]to run constantly.


while having it run constantly




  • Add Employee– this functionality will allow users to add new employee to the system.


  • View all Employees– this functionality will view all employees in the system.

  • Use global variables to develop a counter to keep track of the number of employees in the system. A good employee management system should always give brief information about the existing number of employees. This counter can be shown to the user when they run the script as the following message:There are (3) employees in the system.


  • while this in mind the following is how it needs to be formatted



  • ---------------------------- Mike Smith -----------------------------



    SSN: 123123123



    Phone: 111-222-3333



    Email: mike@g'mail.com



    Salary: $6000



    ------------------------------------------------------------------------




  • Now you will continue to employ the list data structure and utilize functions to add the following two new functions:




    • Search employee by SSN: This functionality makes use of looping and string parsing to search all the employees in the list and returns the information of the employee who has a SSN similar to the one that the user provided.


    • Edit employee information: This functionality makes use of the “Search employee by SSN” function first to find the right employee, then it will allow the user to edit the information of the selected user.




If you could give me a step-by-step to help me understand it would be greatly appreciated. (This is all done in python)

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here