SyntaxFix
Write A Post
Hire A Developer
Questions
idk if this might help you after 9 years... its a simple bubble sort program
l=[1,6,3,7,5,9,8,2,4,10] for i in range(1,len(l)): for j in range (i+1,len(l)): if l[i]>l[j]: l[i],l[j]=l[j],l[i]