Python lists have a built-in list.sort() method that modifies the list in-place. ... sorted(student_tuples, key=lambda student: student[2]) # sort by age ...
確定! 回上一頁