Commit 0c38a97c by BellCodeEditor

save project

parent 278d10b3
Showing with 15 additions and 16 deletions
...@@ -3,21 +3,19 @@ import turtle ...@@ -3,21 +3,19 @@ import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
pen=turtle.Pen()
turtle.penup()
pen.goto(-100,0)
pen.pendown()
pen.write("焯",font=("Times",13,"normal"))
pen.hideturtle()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.pendown() pen.write("Wryyyyyyyy",font=("Times",13,"normal"))
pen.pensize(10) pen.hideturtle()
pen.pencolor("red") pen1=turtle.Pen()
pen.left(45) pen1.pencolor("red")
pen.forward(100) pen1.pensize(5)
pen.circle(50,180) len=screen.textinput("提示","你想要多大的爱心")
pen.right(90) lovesize=int(len)
pen.circle(50,180) pen1.left(45)
pen.forward(100) pen1.circle(lovesize,180)
turtle.done() pen1.right(90)
pen1.circle(lovesize,180)
pen1.forward(2*lovesize)
pen1.hideturtle()
turtle.down()
\ 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