Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
210 B
3
Indexable
Never
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}
# out={a:1,b:2,c:[3,4],d:5,e:6}