numpy random in python code example
Example 1: Random Numbers in NumPy
from numpy import random
x = random.randint(100)
print(x)
Example 2: numpy random in python
import numpy as np
a=np.random.rand(5,2)
print(a)
from numpy import random
x = random.randint(100)
print(x)
import numpy as np
a=np.random.rand(5,2)
print(a)