We can Read the Dictionary in Python according to the keys.like :d={1: 'First', 2: 'Second', 3: 'Third'}print(d[1])print(d[3])output : FirstThird
like :
d={1: 'First', 2: 'Second', 3: 'Third'}
print(d[1])
print(d[3])
output :
First
Third