Python Programming - Dictionaries - Discussion

Discussion Forum : Dictionaries - General Questions (Q.No. 37)
37.
How do you check if a specific value exists in the values of a dictionary?
if value in dictionary:
if value.exists_in(dictionary.values()):
if value.contains(dictionary.values()):
if dictionary.contains_value(value):
Answer: Option
Explanation:
The in keyword is used to check if a specific value exists in the values of a dictionary.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.