In this tutorial we will explore sorting in Python using sorted() function.
⭐️ Timeline
0:00 - Introduction
2:00 - Sort a list of numbers
4:05 - Sort a list of strings
6:15 - Sort with a lambda key function
8:53 - Sort with a custom key function
11:10 - Sort custom objects
15:13 - Conclusion
📄 Resources
- Full article with Python code: pyshark.com/python-sorted-fun...
- Python lambda functions tutorial: • Python Lambda Function...
- Python lambda functions explained: pyshark.com/python-lambda-fun...
🔗 My Social Media
- RU-vid: / @mishasv
- Website: pyshark.com
- LinkedIn: / mikhail-sidyakov
- TikTok: / mishamisha_sv
- Instagram: / mishamisha_sv
- Twitter: / mishamisha_sv
- GitHub: github.com/misha-pyshark
🎬 My RU-vid Equipment
- Microphone (Blue Yeti): amzn.to/3IeIsLg
- Keyboard (Razer Ornata V2): amzn.to/3aeJIBt
- Mouse (Logitech G403): amzn.to/3ReLUK4
- Headphones (Bose Quiet Comfort 35 II): amzn.to/3uqidMq
💸 Donations
💵 One-Time Donations: www.paypal.com/donate/?hosted...
💰 Patreon: / misha_sv
--------------------------------------------------------------------------------------------------------------
⭐️ Tags
- Python sorted function
- Sorting in Python
- Intermediate Python
6 авг 2024