Commit 8b77c417 by BellCodeEditor

save project

parent 771450f9
Showing with 5 additions and 5 deletions
""" pen=turtle.Pen()
请使用turtle模块画出五角星 pen.fillcolor("red")
""" pen.begin_fill()
import turtle import turtle
pen=turtle.pen() pen=turtle.pen()
For i in range(5) For i in range(5)
...@@ -8,4 +8,4 @@ For i in range(5) ...@@ -8,4 +8,4 @@ For i in range(5)
pen.right(144) pen.right(144)
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
pen.end_fill()
\ No newline at end of file \ 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