Commit 16ff0630 by BellCodeEditor

save project

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