Commit 17b50513 by BellCodeEditor

save project

parent 7a14ca49
Showing with 3 additions and 3 deletions
import turtle
pen = turtle.Pen()
pen=shape("turtle")
pen.fillcolor("red")
pen.begin_fill()
for i in range(36):
pen.forward(200) # 移动200
pen.left(170) # 改变方向
pen.forward(20) # 移动200
pen.left(10) # 改变方向
pen.end_fill()
pen.hideturtle()
......
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