Question: write a program in python language that does the following: -generate 50 random numbers between -23 and 31. -calculates the average of the generated numbers

write a program in python language that does the following:

-generate 50 random numbers between -23 and 31.

-calculates the average of the generated numbers using a function you define

-calculates the mode of the generated number using a function you define

-calculates the sum of the square of the generated number using a function

-prints the average, mode, and squared sum values in a single line seperated by spaces using a print function that makes call to the previusly defined fuctions

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!