Vidyalelo
Python · Q45

MCQs for Python Dictionaries: Exam

Programming · Python · question 45

Q45

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
C.
Error
Answer
D.
None

Answer: Option C

Solution

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