comment vérifier la dimension du tableau en python

import numpy as np
arr1 = np.array([[10, 20], [11, 21], [12, 22]])
dimensions = arr1.shape
CompSciGeek