Which function returns the length of a string or list?

Explanation:

len() returns the number of items in a sequence.

Explore more in Computer Science: