Another difference is that sorted() accepts any iterable while list.sort() is a method of the list class and can only be used with lists. nums = ...
確定! 回上一頁