Question: Function Name: employeeData ( ) Parameters: employeeName ( str ) , employeeData ( str ) , dataType ( str ) Returns: cleanData ( str )

Function Name: employeeData()
Parameters: employeeName ( str ), employeeData ( str ), dataType ( str )
Returns: cleanData ( str )
Description: Dunder Mufflin is trying to organize its employee paperwork after another regional
manager from Scranton leaves, but their employee data is a mess!
Write a function that takes in a employee's name ( str ), their data ( str ), and whether it's an
email or phone number ( str ), removes extra characters from the data, and finally returns the
string "{employeeName},{dataType}: {cleanData}". Clean employee emails should not include
dashes "-", dollar signs "$", or pound symbols "#". Clean phone numbers should not include
"@", percentage "%", or "&" symbols."Dwight Shrute, Phone: 1-800-ILOVEBEETS""Angela Martin, Email: RIPsprinkles@hotmail.com"
Function Name: employeeData ( ) Parameters:

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 Programming Questions!