Vidyalelo
Python · Q33

MCQs for Python Dictionaries: Exam

Programming · Python · question 33

Q33

What will be the output of the following Python code snippet? d1 = "john":40, "peter":45 d2 = "john":466, "peter":45 d1 == d2

A.
True
B.
False
Answer
C.
None
D.
Error

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board