python中的字典推导式
案例1:将字典dict1 = {“001”: “aa”, “002”: “bb”, “003”: “cc”}中的key和value互换成{‘aa’: ‘001’, ‘bb’: ‘002’, ‘cc’: ‘003’}dict1 = {"001": "aa", "002": "bb", "003": "cc"}dict2 = {}for key, value in dict1.it