QUESTION

Text
Image


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: \[ \text { ia_count - number of IAs (int }>0 \text { ) } \] Returns: total_hours - hours worked by all IAs (float) Sample testing: Number of IAs: $\underline{2}$ Week 1 Marking hours for IA 1: $\underline{2.5}$ Marking hours for IA 2: $\underline{3}$ Week 2 Marking hours for IA 1: 4.25 Marking hours for IA 2: $\underline{1}$ Week 6 Marking hours for IA 1: $\underline{6}$ Marking hours for IA 2: 1 Total marking hours for all IAs: 31.50 Test functions.py:

Public Answer

EZ4CC0 The First Answerer