题解 | #首都#
首都
http://www.nowcoder.com/practice/03a5031ed7ad4a7db897fd9ed982ea57
奇怪的“典中典”
cities_dict = {'Beijing': {'Capital': 'China'}, 'Moscow': {'Capital': 'Russia'}, 'Paris': {'Capital': 'France'}}
for city, capital_dict in cities_dict.items(): print('{0} is the capital of {1}!'.format(city, capital_dict['Capital']))