From 267f3bea68517072f26ef308ebd5522d3e41d6fb Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 15 May 2021 17:43:14 +0800 Subject: [PATCH] auto save --- diy3.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/diy3.py b/diy3.py index 650cea5..75a3736 100644 --- a/diy3.py +++ b/diy3.py @@ -1,4 +1,6 @@ m = "诺依,周末一起去看动漫展吧!" +i=0 n=len(m) -for i in range(n): - print(m[i]) \ No newline at end of file +while i<n: + print(m[i]) + i=i+1 \ No newline at end of file -- libgit2 0.25.0