Commit 6b2de943 by BellCodeEditor

save project

parent 701146d7
Showing with 5 additions and 0 deletions
......@@ -2,6 +2,7 @@ import random
key=请使用索引的知识,取出message所有元素(不用遍历的方式)
message = "诺依,周末一起去看动漫展吧!"
a = ""
m="@!#@#$#$$#%$"
for i in a:
d = i
b = random.choice(key)
......@@ -9,6 +10,10 @@ for i in a:
e = d + b + c
a=a+e
print(a)
f = list(a)
f.insert(3,m)
g="".join(f)
print(f)
# 请使用索引的知识,取出message所有元素(不用遍历的方式)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment