python
Find the length of 2d array in Python
The length of 2d array in python is the number of rows in it. Generally 2d array has rows with same number of elements in it. Consider an example, array = [[10,20,30], [40,50,60]]. Length of array is 2. Number of rows in 2d array Use len(arr) to find the number Read more…