Python Built-In Function sorted(): Difference between revisions
Jump to navigation
Jump to search
(Created page with "=External= * https://www.geeksforgeeks.org/sorted-function-python/ =Internal= * Python Functions =Overview=") |
|||
Line 4: | Line 4: | ||
* [[Python Language Functions#sorted|Python Functions]] | * [[Python Language Functions#sorted|Python Functions]] | ||
=Overview= | =Overview= | ||
Sorted() sorts any sequence (list, tuple) and always returns a list with the elements in a sorted manner, without modifying the original sequence. |
Revision as of 00:46, 2 August 2022
External
Internal
Overview
Sorted() sorts any sequence (list, tuple) and always returns a list with the elements in a sorted manner, without modifying the original sequence.