Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need this script to SEARCH employee by SSN and EDIT employee information in the format provided. Now you will continue to employ the list

image text in transcribed
image text in transcribed
I need this script to SEARCH employee by SSN and EDIT employee information in the format provided.
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. Your system should display the employee information in the following format: Mike Smith... SSN: 123123123 Phone: 111-222-3333 Email: mike@gmail.com Salary: $6000 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 File Edit Format Run Options Window Help Create scrpt that alioMS sT to enter valuea foz employee print ('linter Employee tan mm., end-') #Enter Employee Name employecName input 0 tCreate variable for 'employecName employeeSSN-input() #Create variable for employeessar print( Enter Employee Phone Number tex xxx xxx- ot end-, ') #Enter Employee Phone Number employeePhone - input o Creace variable for employeep hone employeeEmail . input() #crea ce variable for . employe Eman, print ('Enter Employee Salary:, end-' .) #Encer Employee salary enployeeSalary loat (input 0) Create float variable fof empoveesalacyh print (-Am! ) #11ne break print (nn') tiine break print (employeeName . center (60, ) #print Employee Name centered stirreunded by print(,ni') #2ane break DrincKTsemploycesSh) Sprint Erpicyee ss pzint (aan break print K: Rhi4mm nte, lhimbe The #laneenpeakeePhone) #print Employee Pho tant(rip!) print

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

1st Edition

1597496251, 978-1597496254

More Books

Students also viewed these Databases questions