Commit c12defca by BellCodeEditor

save project

parent ba0449f2
Showing with 11 additions and 0 deletions
import turtle
pen=turtle.Pen()
pen.fillcolor("yellow") #选颜色
pen.begin_fill() #开始填充
for i in range(5):
pen.forward(200)
pen.right(144)
pen.hideturtle()
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