Commit 96f579fe by BellCodeEditor

save project

parent 9c5b7dd1
Showing with 10 additions and 6 deletions
import radom
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
i=0 a=0
key="aewsadQDAW哇哇哇哇哇wadfw那时刚好你是猪xadwdaw"
# 请使用索引的知识,取出message所有元素(不用遍历的方式) # 请使用索引的知识,取出message所有元素(不用遍历的方式)
while i < len(message): for i in message:
a=message[i] t=i
print(a) t1=radom.choice(key)
i+=1 t2=radom.choice(key)
\ No newline at end of file a=t+t2+t3
print(a)
\ 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