二維串列.sort(key=lambda x:x[n])上述函數方法參數有 lambda 關鍵字,讀者可以不理會直接參考輸入,即可獲得排序結果,未來介紹函數時,在 11-7 節筆者會介紹此關鍵字。
確定! 回上一頁