Commit 3bdb8129 by BellCodeEditor

auto save

parent 07858a54
Showing with 19 additions and 0 deletions
mport turtle
screen=turtle.Screen()
screen.bgcolor("light yellow )
#pen=turtle.Pen() #pen.write("我呵呵的在\n呵呵好的的\n好在在不\n呵呵一的\n不的不不\n呵呵在好\n",font=("times",25,"norma1"))
#pen.hideturtle()
#turtle.done()
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(5)
len = screen.textinput("提示”,你想要多大的爱心呀?")
pen1=int(len)
pen1.left(45)
pen1.forward(2*len1)
pen1.circle(len1,180)
pen1.right(90)
pen1.circle(len1,180)
pen1.forward(2*len1)
pen1.hideturtle()
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