πŸ“Š Problem Solving and Python Programming
Q. Which of the following isn’t true about dictionary keys?
  • (A) more than one key isn’t allowed
  • (B) keys must be immutable
  • (C) keys must be integers
  • (D) when duplicate keys encountered, the last assignment wins
πŸ’¬ Discuss
βœ… Correct Answer: (C) keys must be integers

Explanation: keys of a dictionary may be any data type that is immutable.


Explanation by: Mr. Dubey
keys of a dictionary may be any data type that is immutable.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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