How to Find the Length of a List in Python

Python has a built-in function len() that returns the length of a given object. The object can be a list , tuple, string, dictionary, etc. Lists are one of the most commonly used data types in Python and are used to store collections of items of the same type. This article shows how to find the length of a list.

Source: LXer – How to Find the Length of a List in Python