From 0f5305ffc66fcaf4674e6071834a2eff433de73f Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 7 Jan 2024 13:46:15 +0800 Subject: [PATCH] save project --- diy2.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/diy2.py b/diy2.py index 28f70aa..7693295 100644 --- a/diy2.py +++ b/diy2.py @@ -1,5 +1,8 @@ +import random message = "诺依,周末一起去看动漫展吧!" -for i in message: - print(i) -# 请对message进行遍历,取出所有元素 +for i in range(len(message)): + trl=1 + str2=random.choice(key) + str3=random.choice(key) + -- libgit2 0.25.0