Question: PYTHON write a functionn called get_input() that takes no arguments and returns the name, hours worked and hourly rate for one employee. the body of

PYTHON write a functionn called get_input() that takes no arguments and returns the name, hours worked and hourly rate for one employee. the body of the function will include the prompts and store the user input .

write a function called calc_pay(hours, rate) that takes two arguments and returns the amount the employee gets paid for the week. the body will include the calculations.

use a list to store the paycheck values for the employees entered. iterate through the list to calculate the total and average of all employees entered.

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