np.random.rand(3,2)
array([[ 0.14022471, 0.96360618], #random
[ 0.37601032, 0.25528411], #random
[ 0.49313049, 0.94909878]]) #random
import numpy as np
a=np.random.rand(5,2)
print(a)
import numpy as np
n = 2
m = 3
print(np.random.randn(n, m))
# prints random matrix with n rows and m columns
# example:
# array([[ 1.01267696, -1.85632995, 0.23078345],
# [ 0.34365521, -1.27063438, 2.90131288]])
from numpy import random
n = random.randint(lowerbound(inclusive), higherbound(exclusive))