Vidyalelo
Python · Q7

MCQs for Python Dictionaries: Exam

Programming · Python · question 7

Q7

In Python, how can you check if a key exists in a dictionary?

A.
in keyword
Answer
B.
exists()
C.
contains()
D.
check()

Answer: Option A

Solution

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