πŸ“Š Problem Solving and Python Programming
Q. Which of the following statements create a dictionary?
  • (A) d = {}
  • (B) d = {“john”:40, “peter”:45}
  • (C) d = {40:”john”, 45:”peter”}
  • (D) all of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (D) all of the mentioned

Explanation: dictionaries are created by specifying keys and values.


Explanation by: Mr. Dubey
dictionaries are created by specifying keys and values.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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