字典的操作有点不熟悉 还得多练习 以下参考了大神的操作: res_dict = {key:value for key,value in mixed_dict.items() if type(value) !=int or value>k}