Q. What does the len() function do in Python?
Solution:
The len() function returns the number of items in an object, such as a list, string, or tuple.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The len() function returns the number of items in an object, such as a list, string, or tuple.
Strengthen Your Practice with our comprehensive question bank.