Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Python-Quizzes | Python Dictionary Quiz | Question 9

  • Last Updated : 17 Sep, 2020

Question 9:Find the output of the following program:

a = {'geeks' : 1, 'gfg' : 2
b = {'geeks' : 2, 'gfg' : 1
print (a == b) 

(A) True

(B) False
(C) Error
(D) None

Answer: (B)

Explanation: If two dictionary are the same it returns true, otherwise it returns false.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!