cities = { 'shanghai':{'country':'china','population':10000,'fact':'good'}, 'lendon':{'country':'england','population':2348,'fact':'nice'}, 'new york':{'country':'american','population':8650,'fact':'rich'}, } for city,characts in cities.items(): prin…