Commit 3f1c18a5 by BellCodeEditor

save project

parent 027d3568
Showing with 10 additions and 3 deletions
message = "诺依,周末一起去看动漫展吧!"
# 请对message进行遍历,取出所有元素
key = "abcdefgh"
j=""
import random
for i in message:# 请对message进行遍历,取出所有元素
str1 = i
str2 = random.choice(key)
str3 = random.choice(key)
a=str2+str3+str1
j=j+a
print(j)
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