In this python numpy program, we will create an array with the values.
Steps to solve the program
- Import the numpy library as np.
- Create an array with the given values using np.array().
- Print the output.
import numpy as np
x = np.array([10,34,86,26,56])
print(x)
Output :
[10 34 86 26 56]