The list "sort" method sorts lists in-place, but the built-in "sorted" function can sort any iterable!
Article at https://pym.dev/sorting-in-python/
More #Python screencasts at https://pym.dev/screencasts/
00:00 The list "sort" method
00:29 The built-in "sorted" function
01:04 Sorting in reverse (descending order)
01:22 Sorting by a "key" function
02:20 Use "sorted" to sort any iterable
In questa pagina del sito puoi guardare il video online Sorting iterables with Python's sorted function della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Python Morsels 06 maggio 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 182 volte e gli è piaciuto 6 spettatori. Buona visione!