Question: In python language write a hybrid module myListFunc.py for number list operations. This module should include the following functions: - fillList(L): fill up the empty
In python language write a hybrid module myListFunc.py for number list operations. This module should include the following functions:
- fillList(L): fill up the empty list L with user input
- maxList(L): return the maximum value of the list L
- avgList(L): return the average value of the list L
- count(v, L): count the number of occurrences of number v in the list L
- replace(old, new, L): replace the old number value with new number value in the list L
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
