Question: Write a Python program that will calculate the distribution of random number. Lists and Dictionaries Write a Python program that will show the distribution of
Write a Python program that will calculate the distribution of random number.
Lists and Dictionaries Write a Python program that will show the distribution of randomly generated integers. Your program should create a list containing randomly generated integers between and You are to convert this list to a dictionary where the keys are the integers to and the values are the number of occurrence of that integer in the list. Once the dictionary has been created, write code that will allow a user to query the dictionary. Ask the user to enter an integer between and and output the number of times that integer was generated. Continue asking the user until a is entered. Lastly, print out the maximum, minimum, mean, and median of the integer occurrences.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
