From 6980d07de355b348b8170ff6f3cf7cd885c28887 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Thu, 5 Sep 2024 10:17:06 +0800
Subject: [PATCH] auto save

---
 diy.py  | 11 -----------
 diy3.py | 11 +++++++++++
 2 files changed, 11 insertions(+), 11 deletions(-)
 delete mode 100644 diy.py
 create mode 100644 diy3.py

diff --git a/diy.py b/diy.py
deleted file mode 100644
index 8c4eec1..0000000
--- a/diy.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# 臂力挑战赛
-# 快用你机灵的小脑瓜想想,如何将刘强和他的臂力值自动插入到hero列表中?
-name='刘强'
-power=66
-hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98]
-# 自动排序
-for i in range(len(hero)):
-    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
diff --git a/diy3.py b/diy3.py
new file mode 100644
index 0000000..8c4eec1
--- /dev/null
+++ b/diy3.py
@@ -0,0 +1,11 @@
+# 臂力挑战赛
+# 快用你机灵的小脑瓜想想,如何将刘强和他的臂力值自动插入到hero列表中?
+name='刘强'
+power=66
+hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98]
+# 自动排序
+for i in range(len(hero)):
+    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
--
libgit2 0.25.0