Commit d1a57ab0 by BellCodeEditor

save project

parent 37ff220f
Showing with 3 additions and 2 deletions
...@@ -4,4 +4,6 @@ for i in range(a-1): ...@@ -4,4 +4,6 @@ for i in range(a-1):
for j in range(a-1): for j in range(a-1):
if alist[j]>alist[j+1]: if alist[j]>alist[j+1]:
alist[j],alist[j+1]=alist[j+1],alist[j] alist[j],alist[j+1]=alist[j+1],alist[j]
print(alist) for i in range(a):
\ No newline at end of file print(alist[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