List len(list) Function:

In Python Built-In List len(list) function is used to returns the number of elements in the given list.

Syntax:
There is 1 Parameter used in Lists len(list) Function: list for which the number of elements to be counted.
Example:
#len() function

list1 = ['BOB', 'TOM']
list2 = ['xyz', 'lmn', 'pqr']
print ("Length of First list: ", len(list1))
print ("Length of Second list: ", len(list2))