πŸ“Š Python
Q. What does `dict1 == dict2` check?
  • (A) Memory location
  • (B) If they are the same object
  • (C) If both have the same keys and values
  • (D) Always False
πŸ’¬ Discuss
βœ… Correct Answer: (C) If both have the same keys and values

Explanation: Equality operator `==` checks whether two dictionaries have the same keys and values.

Explanation by: Mr. Dubey
Equality operator `==` checks whether two dictionaries have the same keys and values.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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