Loading...
Loading...
Loading...
A teacher has a list of exam marks and wants them in order from lowest to highest. Print the marks in increasing order on one line, separated by single spaces.
Example 1
Input
64 34 25 12 22 11 90
Output
11 12 22 25 34 64 90
Example 2
Input
5 5 1
Output
1 5 5
Try the problem first. Open one hint at a time.
Python already has a stable O(n log n) sort.
Convert the text to numbers first, or the marks will sort as text.
Write your Python code, run it on the examples and submit it to hidden tests.
Solve in the editor