Dictionaries
#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