pythonic way to create 3d dict
I want to create a dict which can be accessed as: d[id_1][id_2][id_3] = amount As of now I have a huge ugly function: def parse_dict(id1,id2,id3,principal, data_dict): if data_dict.has_k...