Commit 875f8ca0 by BellCodeEditor

save project

parent 7d1e26a5
Showing with 2 additions and 2 deletions
......@@ -4,7 +4,8 @@ import turtle
# pen.write("你好",font=("Times",20,"normal"))
# pen.hideturtle()
# turtle.done()
screen1=100
screen=turtle.Screen()
screen1=int(screen.textinput("SB","请输入爱心大小"))
pen1=turtle.Pen()
turtle.left(45)
turtle.forward(screen1*2)
......@@ -12,7 +13,6 @@ turtle.circle(screen1,180)
turtle.right(90)
turtle.circle(screen1,180)
turtle.forward(screen1*2)
screen=turtle.Screen()
screen.bgcolor("pink")
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