Commit 2dc225db by BellCodeEditor

save project

parent 7ab44ae1
Showing with 23 additions and 1 deletions
import random
while True:
key="abcdefg."
str=random.choice(key)
print(str)
\ No newline at end of file
import random
k="玩儿体育课,门板创新中心点发货了,美国夫人体验萨维斯认同与健康了"
m="今天去吃汉堡包吧!"
k_m=""
n="drtyuil"
for i in m:
str1=i
str2=random.choice(k)
str3=random.choice(k)
t=str1+str2+str3
k_m=k_m+t
l_m=list(k_m)
l_m.insert(5,n)
r_m="".join(l_m)
print(r_m)
message = "诺依,周末一起去看动漫展吧!"
message = "诺依,周末一起去看动漫展吧!"
# 请使用索引的知识,取出message所有元素(不用遍历的方式) # 请使用索引的知识,取出message所有元素(不用遍历的方式)
l=len(message) l=len(message)
i=0 i=0
......
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