InterviewSolution
Saved Bookmarks
| 1. |
Write a program that checks for presence of a value inside a dictionary and prints its key. in python |
|
Answer» 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 |
|