l=int(input()) n=len(l) a=0 while(a<n): j=a+1 while(j<n): l[a],l[j]=l[j],l[a] a=a+1 print(l)
5 25 45 13 3 1
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 2, in <module> TypeError: object of type 'int' has no len()