how to print a value of a key in nested dictionary python
D = {'emp1': {'name': 'Bob', 'job': 'Mgr'},
'emp2': {'name': 'Kim', 'job': 'Dev'},
'emp3': {'name': 'Sam', 'job': 'Dev'}}
print(D['emp1']['name'])
# Prints Bob
print(D['emp2']['job'])
# Prints Dev