To sort the keys in reverse, add reverse=True as a keyword argument to the sorted function. How to sort a dict by value¶. for key, value in ...
確定! 回上一頁