Untitled

 avatar
unknown
plain_text
a year ago
222 B
2
Indexable
Given these two dictionaries, write the code to merge them with respect to keys. The values should be in sorted order

input1 = {'a':1,'b':2,'c':4}
input2 = {'c':3,'d':5,'e':6, 'f':7 }
# out={a:1,b:2,c:[3,4],d:5,e:6,f:7}

Leave a Comment