Commit 6248a2a4 by BellCodeEditor

save project

parent 8e31b9a7
Showing with 8 additions and 2 deletions
alist = [88, 75, 72, 82, 90, 85, 78, 91]
\ No newline at end of file
alist = [88, 75, 72, 82, 90, 85, 78, 91,1 ,1,1,1,1,2,23,2,3,4,5,6,,4,34,,564,6,3,63,543,463,63,65,63,534,6,6,63,636,6,56,65,43,6,4573,87,7,87,69,,9786,0,,087,0,878,65,8754,76,345,6,453,6,43,3,6,5367,45,7,6,457,,435,,,5,6,57,,373,7,43,3,77,37,3,7,7,3,7,7,7,7,3,77,56,87,74,66,6,76,,776,7,7,7,77,64,7647,336,36,36,36,36,3,3,56,,76,87,7,7,7,76,7,7,,,,,,,76,76,,,453345,53,3,4,4,4,,,,,,,98,8769,97078,968679,4,76,65,]
n = len(alist)
for i in range(0,n-1):
for j in range(0,n-1):
if alist[j]<alist[j+1]:
alist[j],alist[j+1]=alist[j+1],alist[j]
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