Array Functions using Numpy
Let's use numpy now. Let's create an array of ones.
a = np.ones(10)
Let's build a random array of integers.
b = np.random.randint(10)
Python Basics
Let's use numpy now. Let's create an array of ones.
a = np.ones(10)
Let's build a random array of integers.
b = np.random.randint(10)