Generation

code to explanationMon, 10 Apr 2023

import numpy as np np.array([[1, 2], [3, 4]])

The function np.array() creates an array from the list [[1, 2], [3, 4]].

Want to kickstart your project?Use the new AI Studio to create your code