Sorting Numbers List Function

  • Share this:

Code introduction


This function takes a list of numbers as an argument and returns a sorted list.


Technology Stack : Sorting

Code Type : Function

Code Difficulty : Intermediate


                
                    
def aord(n):
    """
    对输入的数字列表进行排序,并返回排序后的列表。
    """
    return sorted(n)                
              
Tags: