Commit 73e4d060 by BellCodeEditor

save project

parent 6b20c3cd
Showing with 18 additions and 18 deletions
""" import random
使用turtle模块画图 key="hb kersgher阿发送到范德萨发顺丰vuyefbsdgfythyg6867689768687t875砂粉色的范德萨rt5T87G6B7D43568967T@#$%^&*&^t%r$e#w@$r%t^78YdsiugdfXGHJLIKH&^#%O*I%$"
每次移动都增加画笔移动的长度,并旋转91°,重复执行300次,查看效果 massage=input()
""" key_massage=""
import turtle noise="*&(&%^*&)(按时$%%&^*(&%%$^^&**&^*&$!@#$%^&*())(V达传说中LKBFVFDHUOJ*OG^IY:I8h6gi8gsdythg9ogf9erufrei87ty645unbt87ffgvunsd88er70eruy65-=-012+))"
for i in massage:
pen = turtle.Pen() str1=i
# 请创造师在下面接着创作 str2=random.choice(key)
while True: str3=random.choice(key)
distance=1 text=str1+str2+str3
for i in range(300): key_massage=key_massage+text
pen.forward(distance) list1=list(key_massage)
distance+=1 a=random.randint(0,len(list1))
pen.right(91) list1.insert(a,noise)
# 隐藏画笔,保存画布 b="".join(list1)
pen.hideturtle() print(b)
turtle.done()
\ No newline at end of file \ 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