Commit 8f2a609d by BellCodeEditor

auto save

parent 40da5aea
Showing with 11 additions and 7 deletions
......@@ -3,17 +3,20 @@ screen=turtle.Screen()
screen.bgcolor("green")
pen=turtle.Pen()
pen.Penup()
pen.up()
pen.goto(100,-100)
pen.write("你好",font=("Times",13,"normal"))
pen.down()
pen.write("刘\n\n\n\n\n逼",font=("Times",40,"normal"))
pen.hideturtle()
pen1=turtle.pen()
pen1=turtle.Pen()
pen1.pensize(5)
pen1.pencolor("green")
pen1.pencolor("red")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
r=int(screen.textinput("你想要多大的爱心:","提示"))
pen1.forward(2*r)
pen1.circle(r,180)
pen1.right(90)
pen1.circle(50,180)
pen1.circle(r,180)
pen1.forward(2*r)
pen1.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