Commit bcb12017 by BellCodeEditor

auto save

parent 6c21592a
Showing with 2 additions and 8 deletions
alist=[12,15,20,17,9,13]
n=len(alist)
for i in range(n-1):
for l in range(n-1):
if alist[l]>alist[l+1]:
alist[l],alist[l+1]=alist[l+1],alist[l]
print(alist)
\ No newline at end of file
list_
\ 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