sort dict_to_sort by using dict_key. sorted_pair_list = sorted(dic.items(), key=lambda x: dict_key.get(x[0])). # the list of values.
確定! 回上一頁