• About
  • Images
  • Blog
  • Talks
  • Contact
Menu

Roberto Reif

Technology and Data Trainings

Your Custom Text Here

Roberto Reif

  • About
  • Images
  • Blog
  • Talks
  • Contact

PYTHON LISTS: Sort

April 8, 2025 Roberto Reif

In Python, lists are objects that can be sorted in ascending or descending order. The sort method allows you to sort a list in place, with ascending order as the default behavior. To sort a list in descending order, set the reverse parameter to True. When sorting text values, the sort is determined by ASCII values. 

How have you used Python lists recently?

← Color ContrastConnecting the Dots →