Write a program that checks for presence of a value inside a dictionary and prints its key. in python
Answers
Answered by
3
Here's your answer bro:
Given a dictionary in Python, write a Python program to check whether a given key already exists in a dictionary. If present, print “Present” and the value of the key. Otherwise print “Not present”. keys() method returns a list of all the available keys in the dictionary.
HOPE IT HELPS..........
PLEASE MARK ME AS BRAINLIEST
Similar questions