What does the `len()` function do in Python?
1. What does the `len()` function do in Python?
- A.Returns the character count of a file
- B.Returns the number of items in an object
- C.Calculates the memory size of an object
- D.Finds the maximum value in a list