Kamus 2d di Python
# It would have the following syntax
dict_names = {'d1' : {'name':'bob', 'place':'lawn', 'animal':'man'},
'd2' : {'name':'spot', 'place':'bed', 'animal':'dog'}}
# You can then look things up like
>>> dict_names['d1']['name']
'bob'
codeninja