Vidyalelo
Python · Q48

MCQs on Python Tuples: Exam

Programming · Python · question 48

Q48

What will be the output of the following Python code? d = "john":40, "peter":45 d["john"]

A.
40
Answer
B.
45
C.
"john"
D.
"peter"

Answer: Option A

Solution

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