Well, as of python 3.7, dictionaries remember the order of items inserted as well. Thus we… ... return dict(sorted(count_dict.items(), key=lambda x:x[1])).
確定! 回上一頁