sample_dict = {
'Physics': 82,
'Math': 65,
'history': 75
}
print(min(sample_dict))
Math
sample_dict = {'a': 100, 'b': 200, 'c': 300}
x = sample_dict['b']
print(x , "present in a Dictionary")
200 present in a Dictionary
dict1 = {'Ten': 10, 'Twenty': 20, 'Thirty': 30}
dict2 = {'Thirty': 30, 'Fourty': 40, 'Fifty': 50}
dict1.update(dict2)
print(dict1)
{'Ten': 10, 'Twenty': 20, 'Thirty': 30, 'Fourty': 40, 'Fifty': 50}