Question: Create a PYTHON function average_int_list that takes a list of integers and calculates and returns the average of all values in the list as a

Create a PYTHON function "average_int_list" that takes a list of integers and calculates and returns the average of all values in the list as a float. Dont use the built in sum function, write it yourself. Then write a PYTHON program method that uses "get_int_list_from_user" method to get a list of 7 numbers, then calls the "average_int_list" function to get the average then prints all values in the list that are greater than the average. Sample run: Enter next whole number: 3 Enter next whole number: 8 Enter next whole number: 4 Enter next whole number: 12 Enter next whole number: 13 Enter next whole number: 6 Enter next whole number: 9 Average: 7.857142857142857 8 12 13 9

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!