# python check if value exist in dict using "in" & values() if value in word_freq.values(): print(f"Yes, Value: '{value}' exists in dictionary") else: print(f"No, Value: '{value}' does not exists in dictionary")