[{'day ''mon''day ''tue'}{'day ''thu''day ''wed'}keys ['day ''day ''day 'values ['mon''wed''tue'elementsday mon day wed day tue day in restrue day in resfalse map reordering if we change the order of the dictionaries while clubbing them in the above examplewe see thatthe position of the elements get interchanged as ifthey are in continuous chain this again shows the behaviour of maps as stacks import collections dict {'day ''mon''day ''tue'dict {'day ''wed''day ''thu'res collections chainmap(dict dict print(res maps,'\ 'res collections chainmap(dict dict print(res maps,'\ 'when the above code is executedit produces the following result[{'day ''mon''day ''tue'}{'day ''wed''day ''thu'}[{'day ''wed''day ''thu'}{'day ''mon''day ''tue'}