From 7989cf40c755210400ed10189ece0ce63575e2f6 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 9 Apr 2022 16:08:46 +0800 Subject: [PATCH] save project --- diy3.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/diy3.py b/diy3.py index 83eacf4..cd46c1e 100644 --- a/diy3.py +++ b/diy3.py @@ -1,3 +1,10 @@ -message = "诺依,周末一起去看动漫展吧!" - -# 请使用索引的知识,取出message所有元素(不用遍历的方式) \ No newline at end of file +import random +m = "诺依,周末一起去看动漫展吧!" +x="abcdefg540880452的回复打开的v还是大多数雕塑肯定是雕塑和发送" +s_x=" " +for i in m: + s=i + c=random.choice(x) + c2=random.choice(x) + s_x+=s+c+c2 +print(s_x) \ No newline at end of file -- libgit2 0.25.0