R

Rati Dubey • 8.55K Points
Tutor III

Q. Which built-in function returns the length of an object in Python?

  • (A) size()
  • (B) length()
  • (C) len()
  • (D) count()
  • Correct Answer - Option(C)
  • Views: 8
  • Filed under category Python

Explanation by: Rati Dubey
The `len()` function returns the number of items in an object like a list, tuple, or string.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics