Commit 42c4d99c by BellCodeEditor

save project

parent fa0dff60
Showing with 16 additions and 0 deletions
import turtle
pen=turtle.Pen()
pen.hideturtle()
for i in range(5):
pen.forward(200)#长度200像素
pen.right(144)#转角144度
turtle.done
import turtle
turtle.hideturtle()
turtle.fillcolor("red")
turtle.begin_fill()
for i in range(5):
turtle.forward(200)
turtle.right(144)
turtle.end_fill()
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