Question: In python write a hybrid module myListFunc.py for number list operations. This module should include the following functions: - fillList(L): fill up the empty list

In python 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

Your program should meet the following requirements: - No built-in functions (such as max(), min(), count(), replace) are allowed to use in the function definition.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!