πŸ“Š Python
Q. Which of the following can be a dictionary key?
  • (A) A list
  • (B) A dictionary
  • (C) A tuple
  • (D) A set
πŸ’¬ Discuss
βœ… Correct Answer: (C) A tuple

Explanation: Only immutable types like tuples can be dictionary keys.

Explanation by: Mr. Dubey
Only immutable types like tuples can be dictionary keys.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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