Q. What is the output of len({'a':1,'b':2})?

  • (A) 1
  • (B) 2
  • (C) 3
  • (D) 0
πŸ’¬ Discuss
βœ… Correct Answer: (B) 2
Explanation: There are two key-value pairs in the dictionary.
Explanation by: Mr. Dubey
There are two key-value pairs in the dictionary.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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