Commit 5d981aa5 by BellCodeEditor

save project

parent 105254e2
Showing with 12 additions and 2 deletions
import random
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
for i in :
sty1=i
sty2=random.choice()
sty3=random.choice()
test=sty1+sty2+sty3
input(test)
# 请使用索引的知识,取出message所有元素(不用遍历的方式) # 请使用索引的知识,取出message所有元素(不用遍历的方式)
\ No newline at end of file
...@@ -4,4 +4,6 @@ m="大傻逼" ...@@ -4,4 +4,6 @@ m="大傻逼"
for i in m: for i in m:
sty1=i sty1=i
sty2=random.choice() sty2=random.choice()
sty3=i sty3=random.choice()
test=sty1+sty2+sty3
input(test)
\ 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