From 5b28ad37c909eb95d195046421b6849fa489558b Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 20 May 2023 11:50:42 +0800 Subject: [PATCH] auto save --- diy.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/diy.py b/diy.py index 9d65d0b..7f000d6 100644 --- a/diy.py +++ b/diy.py @@ -4,4 +4,7 @@ #这时还是无名小卒的关羽上前请战,请从b列表中删掉“关羽”,用三种方法哦。 b=['袁术','夏侯惇','曹操','关羽'] -b.pop(3) \ No newline at end of file +b.pop(3) +b.pop(-1) +b.remove("关羽") +print(b) \ No newline at end of file -- libgit2 0.25.0