Python sorted built-in Function | Sort Containers Till Your Heart's Content

Описание к видео Python sorted built-in Function | Sort Containers Till Your Heart's Content

The sorted function is a built-in Python function that sorts the elements from a container you pass into the function, into a list. If you want the container to continue being the same type it was originally, say tuple for example, you would have to wrap the call to sorted in the tuple constructor function . sorted is one of Python's 71 built-in functions. It is recommended that people just starting to learn Python watch this video.

Subscribe If You Enjoyed: https://www.youtube.com/@jakubication...

Previous Function To Learn (slice):    • slice Function in Python | Master An ...  

To learn more about the built-in functions available to you in Python, check out this playlist:    • Python: Built-in Functions  

#codingforbeginners #programmingbasics #pythontutorial

Комментарии

Информация по комментариям в разработке