From 495b6629bf53cd440ba63daa328a25437c6de414 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Wed, 2 Aug 2023 13:58:20 +0800
Subject: [PATCH] save project

---
 diy2.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/diy2.py b/diy2.py
index 395ed67..ce91089 100644
--- a/diy2.py
+++ b/diy2.py
@@ -1 +1,7 @@
-alist = [88, 75, 72, 82, 90, 85, 78, 91]
\ No newline at end of file
+alist = [88, 75, 72, 82, 90, 85, 78, 91]
+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
--
libgit2 0.25.0