Commit 7b74e526 by BellCodeEditor

save project

parent b4c33d36
Showing with 11 additions and 15 deletions
""" import turtle
请使用turtle模块画出五角星 pen=turtle.Pen
""" pen.fillcolor("red")
import turtle pen.begin_fill()
pen=turtle.Pen() for i in range(36):
pen.shape("turtle") pen.forward(200)
pen.color("red") pen.left(170)
pen.begin_fill() pen.end_fill()
for i in range(5): pen.hideturtle()
pen.forward(200) turtle.done
pen.right(144) \ No newline at end of file
pen.end_fill()
pen.hideturtle()
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