sorted () function accepts any iterable like list, tuple, dictionary, set, string etc. ... If you want to sort the list in-place, use built-in sort() method. sort ...
確定! 回上一頁