Commit efedeba0 by BellCodeEditor

save project

parent 654bc3ba
Showing with 19 additions and 0 deletions
import turtle
i=turtle.Pen()
bg = turtle.Screen()
i.write("哈啊哈啊",font=("Times",40,"normal"))
i.hideturtle()
i1=turtle.Pen()
length=bg.textinput("询问","大小")
heart=int(length)
i1.fillcolor('red')
i1.begin_fill()
i1.lt(45)
i1.fd(2*heart)
i1.circle(heart,180)
i1.rt(90)
i1.circle(heart,180)
i1.fd(2*heart)
i1.hideturtle()
turtle.done()
\ 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