Commit c63500e7 by BellCodeEditor

save project

parent b67ceee7
Showing with 10 additions and 16 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
pen=turtle.Pen
pen.fillcolor("red")
pen.begin_fill()
for i in range(36)
pen.forward(200)
pen.right(170)
pen.end_fill()
turtle.done
\ No newline at end of file
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