Quick actions

cmd+k|ctrl+k

Navigation

Languages

Dictionaries

Snippet info

Language

Python

Visibility

public

Author

harshdeepsaini2757

Created

2025-11-08T20:17:58.991463Z

Updated

2025-11-12T17:08:14.260175Z

#Dictionaries
diction = {
    'a' : [1,2,3],
    'b' : 'hello',
    'x' : True
}

my_list = [
    {
        'a' : [1,2,3],
        'b' : 'hello',
        'x' : True
    },
    {
        'a' : [4,5,6],
        'b' : 'hello',
        'x' : True
    }
    ]
print(my_list[0]['a'][1])

print(diction['a'][1])








INFO