Definition and Usage
The len() function returns the number of items in an object.
When the object is a string, the len() function returns the number of characters in the string
Syntax
len(object)
Example Code
List=["Book","Apple","Dog","Chamel"]
print(len(List))
output:-4