From 9b5c194edb2f315f97c4678b1a9b2d78ebc894f5 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 2 Aug 2020 16:55:46 +0800
Subject: [PATCH] save project

---
 diy3.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/diy3.py b/diy3.py
index 83eacf4..695019e 100644
--- a/diy3.py
+++ b/diy3.py
@@ -1,3 +1,7 @@
 message = "诺依,周末一起去看动漫展吧!"
-
-# 请使用索引的知识,取出message所有元素(不用遍历的方式)
\ No newline at end of file
+# 请使用索引的知识,取出message所有元素(不用遍历的方式)
+a = int(len(message))
+i=0
+while i < a:
+    print(message[i],end="")
+    i+=1
\ No newline at end of file
--
libgit2 0.25.0