Commit de0a630b by BellCodeEditor

save project

parent 43efacd6
Showing with 6 additions and 4 deletions
......@@ -8,14 +8,15 @@ pen.goto(-100,-200)
pen.write("你好呀\n你好呀\n你好呀\n你好呀",font=("Times",20,"normal"))
pen.hideturtle()
#画爱心
len=60
penl=turtle.Pen()
penl.pencolor("red")
penl.pensize(5)
penl.left(45)
penl.forward(100)
penl.circle(50,180)
penl.forward(2*len)
penl.circle(len,180)
penl.right(90)
penl.circle(50,180)
penl.forward(100)
penl.circle(len,180)
penl.forward(2*len)
penl.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