Computers and Technology, 01.12.2021 01:30, lesly0913
John owns a small coffee shop, and he has four employees who work as baristas (coffee bartenders). All of the employees have the same hourly rate. Write a program that will allow her to enter the number of hours worked by each employee, then display the amounts of all the employee's gross pay. You determine the program should perform the following steps: 1. For each employee: get the number of hours worked and stored it in a list element. 2. For each list element: use the value stored in the element to calculate an employee's gross pay. Display the amount of the gross pay. NUM_EMPLOYEES = 4 #Create a list to hold employee hours #YOUR CODE -FILL IN BLANK #Get each employee's hours worked #Fill in blanks for in (NUM_EMPLOYEES) print("Enter the hours worked by employee ; index +1, : , sep=", end='') = float(input); #Get the hourly pay rate #YOUR CODE -FILL IN BLANKS pay_rate= #Display each employee's gross pay #YOUR CODE - FILL IN BLANKS for in (NUMB_EMPLOYEES) gross_pay = pay_rate print(" Gross pay for each employee , index +1,': $', formato ..2f"), sep='')
Answers: 1
Computers and Technology, 24.06.2019 23:00, Jennifer312332
Hypertension occurs when blood pressure is too high.
Answers: 1
John owns a small coffee shop, and he has four employees who work as baristas (coffee bartenders). A...
Chemistry, 24.03.2021 18:50
Chemistry, 24.03.2021 18:50
Mathematics, 24.03.2021 18:50