Python List Sort

Posted by linuxize on Jun 7, 2020 3:35 PM EDT
Linuxize.com; By linuxize
Mail this story
Print this story

In Python, you can sort a list using the built-in list.sort() method or the built-in sorted() function.

Sorting data is one of the most common tasks when working with Python. For example, you may want to sort a list of team members by name, or a list of projects in order of priority.

Full Story

  Nav
» Read more about: Groups: Python

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.