我們知道Python的內建dictionary資料型別是無序的,通過key來獲取對應的value。 ... keys = adict.keys() keys.sort() return map(adict.get, keys) ...
確定! 回上一頁