Commit 79c90957 by BellCodeEditor

save project

parent 2f88d948
Showing with 6 additions and 4 deletions
......@@ -2,18 +2,20 @@ import turtle
pen=turtle.Pen()
pen.pencolor("red")
pen.pensize(5)
len=screen.textinput("提示""爱心尺寸")
bb=int(len)
pen.write("你好呀\nsb",font=("time",20,"normal"))
pen.up()
pen.goto(-200,200)
pen.down()
len=60
pen.left(45)
pen.circle(len,180)
pen.circle(bb,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
pen.circle(bb,180)
pen.forward(2*bb)
pen.left(90)
pen.forward(2*len)
pen.forward(2*bb)
pen.hideturtle()
screen=turtle.Screen()
screen.bgcolor("pink")
......
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