使用Python在上面的字典中仅获取键x,y,w和z的最大值的最佳方法是什么?
my_dict = {"a":0, "b":5, "c":3, "x":4, "y":3, "w":2, "z": 1}
谢谢
python dictionary
dictionary ×1
python ×1