我有一个像这样的格式的字典
d = { "Fruit_1" : ["mango", "apple"], "Fruit_2" : ["apple"], "Fruit_3" : ["mango", "banana", "apple", "kiwi", "orange"] }
我传递一个值为"芒果",我想得到所有相应的键,只有芒果出现.我无法在有价值的地方获得相应的密钥.
python json dictionary python-2.7
dictionary ×1
json ×1
python ×1
python-2.7 ×1