Commit 84e9f321 by BellCodeEditor

auto save

parent ed412def
Showing with 1 additions and 7 deletions
alist = [88, 75, 72, 82, 90, 85, 78, 91]
for j in range(len(alist)-1):
for i in range(len(alist)-1):
if alist[i]<alist[i+1]:
alist[i],alist[i+1] = alist[i+1],alist[i]
print(alist)
\ 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