Number of elements in a list in Python

In python, len() function can be used to get the number of elements in list.

Example : len function applied over a list
cars = ["Mercedes Benz","Honda","Audi", "Volkswagen"]
len(cars)


Output
4