from numpy import random
x = random.rand(3, 5)
print(x)
[[0.14252791 0.44691071 0.59274288 0.73873487 0.22082345] [0.00484242 0.36294206 0.88507594 0.56948479 0.15075563] [0.69195833 0.75111379 0.92780785 0.57986471 0.6203633 ]]