Q. ,4))

  • (A) error, invalid syntax
  • (B) a
  • (C) 5
  • (D) 4
πŸ’¬ Discuss
βœ… Correct Answer: (D) 4
Explanation: the get() method returns the default value(second parameter) if the key isn’t present in the dictionary.

Explanation by: Mr. Dubey
the get() method returns the default value(second parameter) if the key isn’t present in the dictionary.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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