Commit 42b7a41d by BellCodeEditor

save project

parent a50ceeec
Showing with 29 additions and 0 deletions
import turtle
screen =turtle.Screen()
screen.bgcolor("blue")
pen =turtle.Pen()
pen2 =turtle.Pen()
pen.pensize(10)
pen.pencolor("red")
pen2.pensize(10)
pen2.pencolor("red")
yanse=screen.textinput("","")
pen.pencolor(yanse)
pen2.pencolor(yanse)
len=30
len=screen.textinput("提示信息","标题,窗口名称")
len=int(len)
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen2.left(135)
pen2.forward(2*len)
pen2.circle(-len,180)
# pen2.goto(-40,40)
pen2.hideturtle()
pen.hideturtle()
pen.write("听我说\n谢谢你",font=("Times",20,"normal"))
turtle.done()
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