From c4ed58ce6ced52e81d454a65263b9e270a197bc0 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 22 Dec 2023 19:59:47 +0800 Subject: [PATCH] save project --- diy3.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/diy3.py b/diy3.py index 92b49eb..70b36c8 100644 --- a/diy3.py +++ b/diy3.py @@ -1,3 +1,8 @@ message = "诺依,周末一起去看动漫展吧! -message[] +i=0 +while True: + print(message[i]) + i=i+1 + + # 请使用索引的知识,取出message所有元素(不用遍历的方式) \ No newline at end of file -- libgit2 0.25.0