Commit 076d16f8 by BellCodeEditor

save project

parent cfde6509
Showing with 9 additions and 4 deletions
import random
message = "诺依,周末一起去看动漫展吧!"
key = "反馈给核实中有很多家符合法规"
# 请使用索引的知识,取出message所有元素(不用遍历的方式)
for i in range(len(message)):
print(message[i])
for i in message:
sb1=i
sb2=random.choice(key)
sb3=random.choice(key)
asdf=asdf+sb1+sb2+sb3
print(asdf)
\ 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