如果值与给定列表匹配,则返回字典的键如果字典中的值与列表中的元素匹配,我想返回给定字典的所有键。假设我有以下词典: my_dict = {'flower1': ['blue'], 'flower2': ['red ...2024-04-29 已阅读: n次