Solution: Use the len() function as key argument of the list.sort() method like this: list.sort(key=len) . As the len() function is a Python built- ...
確定! 回上一頁