Commit 8bf18693 by BellCodeEditor

auto save

parent c579b413
Showing with 10 additions and 0 deletions
a=[12,32,45,12,98765,34567898754,324]
x=len(a)
for i in range(0,x-1):
y=i
for j in range(i+1,x):
if a[y]>a[j]:
y=j
a[y],a[i]=a[i],a[y]
print(a)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment