由小到大做排序num = [1, 5, 2, 4, 8, 3] 第一種sort排序(影響num本身結構) num.sort() 得到結果為[1, 2, 3, 4, 5, ... num.sort(key=lambda x:x[1]).
確定! 回上一頁