Skip to content
Related Articles

Related Articles

Improve Article
Python-Quizzes | Python Dictionary Quiz | Question 18
  • Last Updated : 17 Sep, 2020

Question 18:Find the output of the following program:

dictionary = {"geek":10, "for":45, "geeks": 90
print("geek" in dictionary) 

(A) 10
(B) False
(C) True
(D) Error

Answer: (C)

Explanation: in is used to check the key exist in the dictionary or not.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :