📅  最后修改于: 2022-03-11 14:46:18.225000             🧑  作者: Mango
代码示例3
my_dict = {'KEY1': "Hello", 'Key2': "World"}
new_dict = dict((k, v.lower()) for k, v in my_dict .items())
print(new_dict)