Commit cb76a05d by BellCodeEditor

save project

parent 44f15f75
Showing with 11 additions and 2 deletions
import random
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
for i in range(14): key="012345abcdefghijklmnopqrstuvwxyz给文明以岁月,而不是给岁月以文明."
print(message[i]) text=""
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
str4=str1+str2+str3
text=text+str4
print(text)
# 请使用索引的知识,取出message所有元素(不用遍历的方式) # 请使用索引的知识,取出message所有元素(不用遍历的方式)
\ No newline at end of file
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