University School of Automation & Robotics

Personal resource archive for various courses.

q23.py

# Using NumPy, write a program to create multidimensional array, load it with the numbers and display the content of it.

import numpy as np

arr = np.array([[1, 2, 3], [4, 5, 6]])
print(arr)