Back to Browse

How Python's Sorted() Function Actually Works

656 views
Mar 1, 2023
15:45

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: https://pyshark.com/python-sorted-function/ - Python lambda functions tutorial: https://www.youtube.com/watch?v=KcIM1DBiVOQ - Python lambda functions explained: https://pyshark.com/python-lambda-functions/ 🔗 My Social Media - YouTube: https://www.youtube.com/channel/UCDw1ADRUpbu-wo7rG_Uc87A - Website: https://pyshark.com - LinkedIn: https://www.linkedin.com/in/mikhail-sidyakov - TikTok: https://www.tiktok.com/@mishamisha_sv - Instagram: https://www.instagram.com/mishamisha_sv - Twitter: https://twitter.com/mishamisha_sv - GitHub: https://github.com/misha-pyshark 🎬 My YouTube Equipment - Microphone (Blue Yeti): https://amzn.to/3IeIsLg - Keyboard (Razer Ornata V2): https://amzn.to/3aeJIBt - Mouse (Logitech G403): https://amzn.to/3ReLUK4 - Headphones (Bose Quiet Comfort 35 II): https://amzn.to/3uqidMq 💸 Donations 💵 One-Time Donations: https://www.paypal.com/donate/?hosted_button_id=7QP8DZT48K9TC 💰 Patreon: https://www.patreon.com/misha_sv -------------------------------------------------------------------------------------------------------------- ⭐️ Tags - Python sorted function - Sorting in Python - Intermediate Python

Download

1 formats

Video Formats

360pmp419.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How Python's Sorted() Function Actually Works | NatokHD