Generate an array x that has n=100 random numbers that are uniformly distributed over the interval [0,1) . Look up how to use the uniform() submodule of numpy.random for this question.

Respuesta :

Answer: np​.​random​.​uniform​(​0,​1,​100)

Explanation:

import numpy as np

#pass the random uniform generated array into x

x = np.random.uniform(low, high, size)

#here low = 0, high = 1, size = 100

x = no.random.uniform(0,1,100)