What's the error with my code here? I can't seem to get it to work. : <p>The program should sort the numbers from lowest to highest. I can't get it to work. Any help would be greatly appreciated. </p>

<pre><code>n=int(input("Enter any positive integer, 0 to stop: "))
while n!=0:
    anyList.append(n)
    n=int(input("Enter any positive integer, 0 to stop: "))

L=len(anyList)
for j in range(L):
    c=999999999
    for i in range(L):
        if anyList[i]&lt;check:
            c=anyList[i]
            p=i
    anyList[p]=999999999
    newList.append(c)

print (newList)
</code></pre>
