Home / Python Array / How to Get Number of Elements in Array in Python In this example we will show how to get the number of elements in the array in Python. Source Code letter = ['a', 'b', 'c', 'd'] len_letter = len(letter) print(len_letter) Output: 4