728x90

sorted : 새로운 정렬된 리스트를 반환

sort : 리스트 자체를 정렬시킴

 

lambda 정렬 : ex ) sorted(list, key = lambda x : x[1])

728x90

+ Recent posts