In this tutorial you will learn the difference between .sort() method and sorted() function. Sort lists, strings, dictionaries, and tuples in python using sorted function. sorted() return a new list whereas .sort() changes the original list in place and cannot be applied to tuples, strings, or dictionaries. Use sorted() function instead.
+++++++++++++++++++++++++++++++++++++
Do you want to support me?
https://www.buymeacoffee.com/vahidnia/
En esta página del sitio puede ver el video en línea Sorting in Python for Beginners | sorted() and .sort() de Duración hora minuto segunda en buena calidad , que subió el usuario Pythonology 19 septiembre 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 267 veces y le gustó 8 a los espectadores. Disfruta viendo!