Commit f83b0c40 by BellCodeEditor

auto save

parent f4dccb07
Showing with 11 additions and 0 deletions
a=[2,678,68,6,34,32,34,57,69,67,532,54,5,97675,0,156,2334,1,2342365,34345,123]
cunot=len(a)
for i in range(0,cunot-1):
k=i
for j in range(i+1,cunot):
if a[k]>a[j]:
k=j
if k!=i:
a[i],a[k]=a[k],a[i]
print(a)
\ No newline at end of file
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