Question: 14. Implement the following function in the PyDev module functions.py and test it from a PyDev module named t14.py def ia_hours(ia_count): Calculates the total number

14. Implement the following function in the PyDev module functions.py and test it from a PyDev module named t14.py def ia_hours(ia_count): Calculates the total number of hours that IAS (Instructional Assistants) work over a 6 week period by asking for the hours for each IA per week. Use: total_hours = ia_hours (ia_count) Parameters: ia_count number of IAs (int > 0) Returns: total_hours hours worked by all IAs (float) RS Sample testing: Number of IAs: 2 Week 1 Marking hours for IA 1: 2.5 Marking hours for IA 2: 3 Week 2 Marking hours for IA 1: 4.25 Marking hours for IA 2: 1 Week 6 Marking hours for IA 1: 6 Marking hours for IA 2: 1 Total marking hours for all Ias: 31.50 Test functions.py
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
