Question: Write a function that accepts a list and returns the average of the numbers in it. You are allowed to use loops only. Do not
Write a function that accepts a list and returns the average of the numbers in it. You are allowed to use loops only. Do not use built in sum, average...etc. functions or list-comprehensions.
Sample Inputl3 = [10,20,30,40,50,60,70,80]
Expected Output45
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
