From 54c3a3fca9e279200af40b9fb404552752c42566 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 29 Oct 2023 16:36:44 +0800 Subject: [PATCH] auto save --- diy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/diy.py b/diy.py index 8c4eec1..6ba451a 100644 --- a/diy.py +++ b/diy.py @@ -8,4 +8,6 @@ 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 + break +print(hero) +print("臂力最强的三个人",hero[-6::1]) \ No newline at end of file -- libgit2 0.25.0