Question: This activity is worth 10 total points This lesson's Group Activities are: Write a program using functions and mainline logic which prompts the user to

This activity is worth 10 total points

This lesson's Group Activities are:

Write a program using functions and mainline logic which prompts the user to enter a number, then generates that number of random integers and stores them in a list. It should then display the following data to back to the user:

The list of integers

The lowest number in the list

The highest number in the list

The total sum of all the numbers in the list

The average number in the list

At a minimum, the numbers should range from 0 to 50, but you can use any range you like.

Helpful hint: don't forget about input validation loops and try/catch exceptional handling. Both are very useful when used in conjunction with functions.

this program uses python

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!