Time limit: 1.0s
Memory limit: 64M
Given a list of numbers, sort them and output them one per line from smallest to largest.
The first line of the input contains a positive integer no greater than , the number of numbers to follow.
Each line after will have a single positive integer less than .
Output the numbers in sorted order from smallest to largest, one per line.
4 4 3 2 1
1 2 3 4
Why I'm I getting this?: Test case #1: IR (✗✗✗✗✗✗✗✗✗✗) [0.019s, 8.28 MB] (0/100) Test case #2: IR (✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗✗) [0.018s, 8.28 MB] (0/200)
This is a line-by-line checker, so you get a checkmark if you get the line correct, and an x if you get the line wrong.
Running your code locally gives the error message
AttributeError: 'int' object has no attribute 'sort'.