Declaring a multi dimensional dictionary in python

I need to make a two dimensional dictionary in python. e.g. new_dic[1][2] = 5 When I make new_dic = {}, and try to insert values, I get a KeyError: new_dic[1][2] = 5 KeyError: 1 How to do this?