From 59a5382585a503a809699ee11a20fb4f195128f5 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 12 Dec 2021 12:06:30 +0800
Subject: [PATCH] save project

---
 diy.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/diy.py b/diy.py
index 10a4034..33964b1 100644
--- a/diy.py
+++ b/diy.py
@@ -4,13 +4,13 @@
 
 # 问询处
 name="xxx"
-c=66
+c=99
 # 归档处
 hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98,'张宇',100]
 for i in range(len(hero)):
-    len(hero)%2=1
-
-
-
+    if i%2==1 and c<hero[i]:
+        hero.insert(i-1,name)
+        hero.insert(i,c)
+        break
 # 打印出臂力最强的三个人和他们对应的臂力值:
 print(hero[8:])
\ No newline at end of file
--
libgit2 0.25.0