Q. Which built-in function returns the number of items in an object?

  • (A) count()
  • (B) len()
  • (C) size()
  • (D) length()
πŸ’¬ Discuss
βœ… Correct Answer: (B) len()
Explanation: `len()` returns the length (number of items) of an object.
Explanation by: Mr. Dubey
`len()` returns the length (number of items) of an object.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
118
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
97%
Success Rate