To sort a dictionary in Python, call the sorted() function on the dictionary items. Optionally, provide a 'key' function to sort by values.
確定! 回上一頁