Commit b70e0959 by BellCodeEditor

auto save

parent 027d3568
Showing with 18 additions and 0 deletions
import random
message = "诺依,周末一起去看动漫展吧!"
key = "faisn 烦恼是南方为空v我饿快买房v我肥!@#¥%……&*()"
# 请对message进行遍历,取出所有元素
str5=""
key2 = "qwertyuiop"
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
str4=str1+str2+str3
str5 = str5+str4
str6=list(str5)
str6.insert(4,key2)
str7="".join(str6)
print(str7)
\ 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