Commit e56d93f7 by BellCodeEditor

save project

parent 36e6491c
Showing with 14 additions and 6 deletions
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
i=0 import random
while i<len(message): j=""
print(message[i]) key="qer2456!@#$%^&"
i+=1 for i in message:
# 请使用索引的知识,取出message所有元素(不用遍历的方式) str1=random.choice(key)
\ No newline at end of file str2=random.choice(key)
a=i+str1+str2
j=j+a
p="!@#$%"
d=list(j)
d.insert(2,p)
s="".join(d)
print(s)
\ 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