The Most Addictive Python and SQL Courses
AI, Data Science & Cloud Certificates from Google, IBM & Meta
Overview
Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free
Learn how to sort various data structures in Python, including lists, tuples, dictionaries, and custom objects. Explore the use of .sort() method and sorted() function, along with key and reverse parameters for customized sorting. Discover techniques for sorting lists in-place, creating new sorted tuples, ordering dictionary items by keys or values, and sorting custom objects based on specific attributes. Master the art of Python sorting to efficiently organize and manipulate data in your programs.
Syllabus
intro
lists
tuples
dictionaries
objects
Taught by
Bro Code