check if hash map contains key python

41

hash_dict={'Python' : '101' , 'PHP': '102' , 'Java': '103'}
#if you want to access only one key value from the dictionary, so just simply add the key whose value you want to know like this
hash_dict['Python']

Comments

Submit
0 Comments