Commit f2b8c09b by BellCodeEditor

save project

parent 41e73f4d
Showing with 19 additions and 4 deletions
......@@ -13,14 +13,28 @@ pen.pencolor("yellowgreen")
pen.pensize(15)
pen.fillcolor("red")
#开始填充
pen.begin_fill()
len=60
pen.left(45)
pen.circle(50,180)
pen.circle(len,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.circle(len,180)
pen.forward(2*len)
pen.left(90)
pen.forward(100)
pen.forward(2*len)
pen.end_fill()
#固定画布
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