pyassistant

Sort List in Non-Decreasing Order

Given a list of integers, return a new list with the same elements but sorted in non-decreasing order.

Example:

Input:
[5, 2, 7, 1, 3]
Output:
[1, 2, 3, 5, 7]

Make sure you return your solution, don't print!

AI

Bot

Trying to solve my challenge? Ask if you must, or press the purple button so I can analyze your code.