Question: Write a PYTHON script called pay.py that requests an employees name, 4-digit employee ID, hourly wage (floating point), and hours worked the previous week (floating

Write a PYTHON script called pay.py that requests an employees name, 4-digit employee ID, hourly wage (floating point), and hours worked the previous week (floating point).

Assign each item of information to a variable.

Assign a variable called pay and calculate the total pay (hourly wage times hours worked).

Print a statement that reads as follows:

is hourly employee: (tab) Number .

worked hours last week.

(blank line)

earned $ last week.

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!