From 83c9e0ecdd52b306e5d83604d32086c446c0b2eb Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 11 Jun 2022 10:14:55 +0800 Subject: [PATCH] save project --- diy3.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/diy3.py b/diy3.py index ce94a75..268a5bf 100644 --- a/diy3.py +++ b/diy3.py @@ -1,4 +1,7 @@ message = "诺依,周末一起去看动漫展吧!" -message[len(message[0])] +s=0 +for i in range(14): + print(message[s]) + s+=1 print(message) # 请使用索引的知识,取出message所有元素(不用遍历的方式) \ No newline at end of file -- libgit2 0.25.0