#Python Programming
In this video, i explained the different use-case for the .sort() list method and sorted function and why we have the two functions.
The sort() method sorts the elements of a given list in a specific order - Ascending or Descending. Alternatively, you can also use Python's in-built function sorted() for the same purpose. However, the simplest difference between sort() and sorted() is: sort() makes changes to the given array itself while, sorted() returns a new iterable list.
Nesta página do site você pode assistir ao vídeo on-line Python Programming - .Sort() Vs Sorted() duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Olamigoke Philip 11 Março 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 275 vezes e gostou 10 espectadores. Boa visualização!