# Loading libraries import numpy as np # Using array() method two_d_array = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) print(two_d_array)