Python 3 sorted() built-in function TUTORIAL

preview_player
Показать описание
Python tutorial on how to use the sorted() built-in function from the Python 3 Standard Library. We learn about sorting by key, sorting in reverse, and sorting python data types including lists, dict, and strings.

📖 Please check out my Udemy course here:

There are also way more Python programming tutorials for you.

Documentation:

⚙️ Recommended Computer Gear:

✈️ Recommended Digital Nomad Gear:
Рекомендации по теме
Комментарии
Автор

you could have cover how key works based on some custom condition, ideally sorted works on returned truthy & falsy value from key function.

SurendraTarai
Автор

Thank you soo much.... I've watched all your videos

pranavverma
Автор

key can be the name of a function and don't forget lambda but I don't like lambda, inline functions aren't great for readability

astrahcat
Автор

Hey please tell me in key= Len, str. lower, str. upper and abs how does it work

PISTOLBABU