Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
L=[[a,b],[c,d],[e,f],...]
max(a,b)、max(c,d)、max(e,f)などで並べ替えたい
カスタムkeyファンクターをsort次のものに提供できます。
key
sort
L.sort(key=max)