From 0bd8836ede6aa0f3fd1b1828cfbc735e1f1389a7 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 26 Jun 2021 14:14:51 +0800
Subject: [PATCH] save project

---
 diy.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/diy.py b/diy.py
index 41875f5..7870338 100644
--- a/diy.py
+++ b/diy.py
@@ -5,6 +5,10 @@ power=66
 hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98]
 # 自动排序
 for i in range(len(hero)):
-    if i%2==1 and hero[i]>=power    
+    if i%2==1 and hero[i]>=power:
+        hero.insert(i-1,name)    
         hero.insert(i,power)
-print(hero)
\ No newline at end of file
+        break
+print(hero)
+sss=hero[-7:-1]
+print(sss)
\ No newline at end of file
--
libgit2 0.25.0