Learning Goal: I’m working on a python question and need the explanation and answer to help me learn.
Write a code where you provide the names and working hours of 5 workers as TWO separate lists as Workers=[Ahmad, Ali, Muhammad, Salih, Waleed], Worker_hours=[20, 45, 32, 38, 50]. The hourly rate is fixed to $2.75. For these workers you have to write a report saying:
For [worker] , who worked for [hours], including [over time] Hours of overtime, for an hourly rate of: [hourly rate] and overtime rate: [overtime rate], his gross pay is: [gross pay].
Note that gross pay is calculated as: Hours * Hourly Rate