Question: For this checkpoint, you will create an input-processing-output application that calculates the the gross and net pay for three employees working at Lard Lad Donuts.
For this checkpoint, you will create an input-processing-output application that calculates the the gross and net pay for three employees working at Lard Lad Donuts. You should collect (as inputs) each employee's name, hours worked, and hourly rate (3 variables x 3 employees = 9 variables). Also collect the tax rate which will be the same for all employees. Finally, print out a nicely formatted table that looks something like the following:
| Name | Hours Worked | Hourly Rate | Gross Pay | Taxes Owed | Net Pay |
| Homer | 25 | $40.00 | $1000.00 | $200.00 | $800.00 |
| Marge | 40 | $50.00 | $2000.00 | $400.00 | $1600.00 |
| Maggie | 10 | $100.14 | $1001.40 | $200.28 | $801.12 |
| Totals: | 75 | $190.14 | $4001.40 | $800.28 | $3201.12 |
Additional requirements:
Use bold, underline, and color somewhere in the code
Left align the names, center align the hours, right align all currency values
Format currency values
Please write the code in python
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
