Question: Python Language D Question 19 10 pts Write a function (name it freq) that prompt the user to enter a value between 5 and 45
D Question 19 10 pts Write a function (name it freq) that prompt the user to enter a value between 5 and 45 and assign to variable n. The function will generate 1000 random numbers between 5 and 45, count and display the number of times that n occurs A sample run of your program may look like: Enter a number between 5 and 45: 35 Of the 1000 random numbers, 35 occurs 28 times
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
