I have 2 dictionaries that I need to merge while extending the keys # to avoid overwrite. I cannot find a suitable solution. How can I do this ?
dic1 = {0: ['Café Replika', '252 Rue Rachel E, USA'], 1: ['Café Tuyo', '370 Rue Marie-Anne Est, USA'] }
dic2 = {0: ['Café Bistro', '4190 St Laurent , USA'], 1: ['Café Portugais', '4051 St Dominique St, USA']}
The output I need is :
finaldic = {0: ['Café Replika', '252 Rue Rachel E, USA'], 1: ['Café Tuyo', '370 Rue Marie-Anne Est, USA'], 2: ['Café Bistro', '4190 St Laurent , USA'], 3: ['Café Portugais', '4051 St Dominique St, USA']}
Thanks for the help