Q. What is the output of the following code?

Code:
d = {"alex":30, "bob":35}
d["alex"]
  • (A) 30
  • (B) 35
  • (C) Error
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (A) 30

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
229
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Rajeev Malhotra
Publisher
πŸ“ˆ
87%
Success Rate