Commit 5f95b6d7 by BellCodeEditor

save project

parent e696c350
Showing with 19 additions and 18 deletions
""" import random
使用turtle模块画图
每次移动都增加画笔移动的长度,并旋转91°,重复执行300次,查看效果 #私钥
""" key="依诺你有病"
import turtle message="依诺大SB"
pen=turtle.Pen() key_message=""
# 请创造师在下面接着创作 noise="port:trhgbgfdfghgrszgdtfsftyfcdxg"
screen=turtle.Screen() for i in message:
screen.bgcolor("black") str1=i
colors=["red","orange","yellow","green"] str2=random.choice(key)
pen.speed(100000000000) str3=random.choice(key)
for i in range(1,300): text=str1+str2+str3
pen.fd(i) key_message=key_message+text
pen.pencolor(colors[i%4]) list_message= list(key_message)
pen.right(91) index= random.randint(0,len(key_message))
# 隐藏画笔,保存画布 list_message.insert(index,noise)
turtle.done() result_message="".join(list_message)
\ No newline at end of file print(result_message)
\ 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