how to calcuylate the lenth of 2D list in python code example Example: how to get height of 2d array in python list = [[1, 2, 3], [11, 12, 13]] print(len(list)) # 2