Commit 36c84626 by BellCodeEditor

save project

parent 659307ac
Showing with 11 additions and 8 deletions
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
i=0 e=" "
# 请使用索引的知识,取出message所有元素(不用遍历的方式) import random
while True: key="efkl;diofsdjvd而胡椒粉是二公局红糖发糕"
print(message[i]) for i in message:
i+=1 a=i
if i>len(message): b=random.choice(key)
break c=random.choice(key)
\ No newline at end of file d=a+b+c
e=e+d
print(e)
\ 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