题解 | #首都#
首都
https://www.nowcoder.com/practice/03a5031ed7ad4a7db897fd9ed982ea57
cities_dict = { 'Beijing': {'Capital': 'China'}, 'Moscow': {'Capital': 'Russia'}, 'Paris': {'Capital': 'France'} } for i in sorted(cities_dict): print(f"{i} is the capital of {cities_dict[i]['Capital']}!")