Question: to be completed in python 3. ara An CIS 231 -Lab 10 (10 points) Due: Start of Next Class No late labs Objectives: Write a

to be completed in python 3.

to be completed in python 3. ara An CIS 231 -Lab 10

ara An CIS 231 -Lab 10 (10 points) Due: Start of Next Class No late labs Objectives: Write a program that uses lists and functions. Tasks: Listed below. When finished, upload your source code and turn in a You can work with another person on this lab. Make sure all of your names are listed at the top of your code. One copy is sufficient for both team members Notes: Write a Python program that will do the following, in this order (note similarities to Lab 1. Ask the user for how many values they would like to enter. This value must be between 1 and 15, inclusive (enforce the range.) Hereafter this quantity will be known as "numValues Create a list of numValues values (floats) by calling a function named input_nums ( That function, which is called just once, will handle the input of the numValues values and storing them into a list that it returns. 2. 3. Call a function named in order ( that gets passed your list and prints the 4. Call a function named rev_order () that gets passed the list and prints the 5. Call a function named abo_bel_ equ () that gets passed the list and then numbers in their order in the list (i.e. order of entry) by iterating through the list in order numbers in reverse order by iterating through each value and not modifying the list. outputs the average of all values in the list followed by the amount of values in the list that are above the average, below the average, and equal to the average 6. Call a function named hi_lo() that gets passed the list and then outputs the highest and lowest numbers in the list. Make sure all functions are self-contained and do not globally access anything outside that function (ie. Anything it needs is passed in as a parameter.) Also, the "magic functions" sum(), max(), and min() are off-limits for this lab. And don't forget. All numbers need to be printed to (only) one decimal place

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!