Write a Python script to produce a table of statistics about a number list as shown in Figure 1. You must meet all the criteria given below for full credit. The script MUST generate 1000 random numbers between 1 and 100 in a loop, and then fill a Python list with those generated numbers (so that at the end of the loop, the list will have 1000 randomly created numbers). (See class note page 53 to learn how to create a random number). Using the list you created in step 1, calculate and print a statistics table as shown below (Figure 1).
Statistics of Randomly Generated 1000 Number List - Developer Malwattage Peeris
Prepared on 2021-07-17 07:44:49
Make sure you print your name here.
Report prepared date and time.
List has 1000 elements.
Sum of all elements in the list is: 50666.
List has maximum value of 100.
List has minimum value of 1.
Mean of 1000 elements in the list is: 50.666.
Median of 1000 elements in the list is: 50.0.
List has 514 even elements.
List has 486 odd elements.
List has 259 elements between 1 and 25.
List has 244 elements between 26 and 50.
List has 234 elements between 51 and 75.
List has 263 elements between 76 and 100.
Total number of elements in the list.
Sum of all elements in the list.
Maximum and minimum numbers in the list.
Mean and median numbers in the list.
How many even and odd numbers in the list.
How many numbers in each category including the limits. For example, how many numbers in the list between 1 and 25 (including 25).
Figure 1
Note: Some of the statistical values such as mean and median can be calculated using the functions given in the Python statistics package. See here: https://docs.python.org/library/statistics.html
Important: YOU MUST USE A PYTHON LIST. YOU CANNOT HARDCODE ANY OF THE NUMBER VALUES SHOWN IN THE TABLE. ALL NUMBERS MUST BE CALCULATED OR EXTRACTED FROM THE LIST.