Example & Tutorial understanding programming in easy ways.

How we can read the dictionary in Python ?

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 : 

First

Third

Read More →