From dd1d501dc3a151b667983e862763003757e6e542 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 6 Jun 2021 14:33:12 +0800 Subject: [PATCH] save project --- diy3.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/diy3.py b/diy3.py index 36ba2b0..810fe74 100644 --- a/diy3.py +++ b/diy3.py @@ -1,8 +1,10 @@ -import ra - - - - +import random +key="abh人工湖teth人,工湖tethet。ggjhnun别人宝宝,不要改变与特惠特后悔" message = "诺依,周末一起去看动漫展吧!" - +for i in message: + str1 = i + str2 = random.choice(key) + str3 = random.choice(key) + test = str1+str2+str3 +nrint(text) # 请使用索引的知识,取出message所有元素(不用遍历的方式) \ No newline at end of file -- libgit2 0.25.0