Linda M.

asked • 12/05/20

python question

Write a python program using a function to prompt the user for hours and rate per hour to compute gross pay. Pay should be the normal rate for hours up to 40 and two times for the hourly rate for all hours worked above 40 hours. To do the pay computation, create a function called paycalculator that takes user-entered hour and rate as its parameters and returns the total pay as a string.

Patrick B.

source code uploaded to RESOURCES section
Report

12/05/20

1 Expert Answer

By:

Patrick B. answered • 12/05/20

Tutor
4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.