import numpy as np
np.random.uniform(-10, 10)
np.random.uniform(-10, 10, size=(2, 3))
np.random.uniform(-10, 10, size=(1, 5, 1))
How to generate n dimensional random variables in a specific range in python