Untitled
Anonymous
plain_text
06/24/2022 11:31 AM
280 B
24
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}
# out={a:1,b:2,c:[3,4],d:5,e:6}
Editor is loading...