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

  • (A) size()
  • (B) length()
  • (C) len()
  • (D) count()
πŸ’¬ Discuss
βœ… Correct Answer: (C) len()
Explanation: The `len()` function returns the number of items in an object like a list, tuple, or string.
Explanation by: Rati Dubey
The `len()` function returns the number of items in an object like a list, tuple, or string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
82
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
86%
Success Rate