The
I know what you mean a dictionary with more
So here order change,not
key:value
will never change.I know what you mean a dictionary with more
key:value
can order change.So here order change,not
key:value
. # 3.4 >>> d {'hello': '1'} >>> d1 = {'car': 5} >>> d.update(d1) >>> d {'car': 5, 'hello': '1'}Using 3.4 over,in 3.6 dict is ordered(not guaranteed yet).
# 3.6 >>> d = {'hello': 1} >>> d1 = {'car': 5} >>> d.update(d1) >>> d {'hello': 1, 'car': 5}