I have two dictionaries and I want to add their content to third dictionary naturally without mixing their between them.
a = {'life':'1','arts':'2'}
b = {'technology':'3', 'culture':'4'}
c = {} # here must be keys and values of the `a` and `b` dicts
I have two dictionaries and I want to add their content to third dictionary naturally without mixing their between them.
a = {'life':'1','arts':'2'}
b = {'technology':'3', 'culture':'4'}
c = {} # here must be keys and values of the `a` and `b` dicts
 
    
    Maybe you can try to use zip keyword
a = {'life':'1','arts':'2'}
b = {'technology':'3', 'culture':'4'}
for q, s in zip(a, b):
    print(q, a[q])
    print(s, b[s])
