Commit c7753be3 by BellCodeEditor

save project

parent e5828bed
Showing with 12 additions and 4 deletions
text="周末一起去欢乐谷吧"
li_text=list(text)
print(li_text)
\ No newline at end of file
import random
text=""
key="哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈"
hh="我要写作业"
key="案发尽快立法垃圾筐啊手动阀就是"
hh="我是一个人"
for i in hh:
str1=i
str2=random.choice(key)
str3=random.choice(key)
text=text+str1+str2+str3
print(text)
\ No newline at end of file
a=list(text)
c=random.randint(0,len(a))
a.insert(c,"啊房间里卡夫拉")
b="".join(a)
print(b)
\ 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