Commit 564e5e5e by BellCodeEditor

save project

parent 34b7e2f0
Showing with 12 additions and 14 deletions
""" import turtle
请使用turtle模块画出五角星
""" pen=turtle.Pen()
import turtle pen.fillcolor("green")
pen.begin_fill()
pen=turtle.Pen() for i in range(72):
pen.fillcolor("red") pen.forward(200)
pen.begin_fill() pen.right(175)
for i in range(5): pen.end_fill()
pen.forward(200) pen.hideturtle()
pen.right(144) turtle.done()
pen.end_fill() \ No newline at end of file
pen.hideturtle()
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