Question: by python: Part 1 For the first part of this lab, you will write a function (plotRandomNumbers) that uses a loop to generate a list
by python:


Part 1 For the first part of this lab, you will write a function (plotRandomNumbers) that uses a loop to generate a list of random numbers, and plots those random numbers in a histogram with 20 buckets(i.e. 20 counted ranges). The following function will be helpful, since it generates a single random number between O and 100: import numpy as np def generateRandom) return np.random.randint(0, 100) Sample Output >>> plotRandomNumbers (1000) Random Numbers 70 60 50 30 20 10 20 40 60 80 100 Range
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
