I am beginner with python. I am getting something like following after writing a long block of code using regular expressions. Basically, I am creating dictionaries by using some kind of loops. Dictionary is of same name but only data is different.
my_dict= {'A':{'1':'a','2':'b'}} # created by loop1
my_dict= {'B':{'11':'ab','32':'pb'}} # created by loop2
my_dict= {'C':{'3':'sd','34':'cb'}} # created by loop3
Now as a final dictionary I want to get only one big dictionary which contains all data of above dictionaries. I want this big dictionary because in future I am gonna compare that with other big dictionary.
So my expected result looks like
my_dictionary={'A':{'1':'a','2':'b'} , 'B':{'11':'ab','32':'pb'} , 'C':{'3':'sd','34':'cb'} }