Get dictionary value from key with get() in Python ... keys = [k for k, v in d.items() if v == 'aaa'] print(keys) # ['key1', 'key2'] keys ...
確定! 回上一頁