From a59f13d0af4090261a2cf4a00b462b869814e5df Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 4 Jan 2025 17:57:19 +0800 Subject: [PATCH] save project --- diy3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diy3.py b/diy3.py index 7b18372..c141492 100644 --- a/diy3.py +++ b/diy3.py @@ -2,8 +2,8 @@ message = "诺依,周末一起去看动漫展吧!" # 请使用索引的知识,取出message所有元素(不用遍历的方式) -if i in message() - +if i in message: + print(i) -- libgit2 0.25.0