x = {'job': 'teacher', 'color': 'blue'}   // Create a dictionary, list with defination

print(x['job'])                           // You will see 'teacher'

y = {'emotion': 'happy', 'reason': {'action': 'playing game', 'platform': 'PC'}}

print(y['reason']['action'])              // You will see 'playing game'

Create dictionary.py