πŸ“Š Python
Q. What will `len({'a':1, 'b':2, 'c':3})` return?
  • (A) 1
  • (B) 2
  • (C) 3
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 3

Explanation: The dictionary has 3 key-value pairs, so the length is 3.

Explanation by: Mr. Dubey
The dictionary has 3 key-value pairs, so the length is 3.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
58
Total Visits
πŸ“½οΈ
7 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate