What will be the output of the following code?
import numpy as np arr = np.array([1, 2, 3, 4]) print(np.ndim(arr))
1
4
None
2
This question is part of this quiz :