Commit ec8f2600 by BellCodeEditor

save project

parent 3eccd572
Showing with 3 additions and 2 deletions
import turtle as p import turtle
p = turtle.Pen()
#请使用turtle模块画出五角星 #请使用turtle模块画出五角星
p.fillcolor("red") p.fillcolor("red")
p.begin_fill() p.begin_fill()
...@@ -7,4 +8,4 @@ for i in range(5): ...@@ -7,4 +8,4 @@ for i in range(5):
p.right(144) p.right(144)
p.end_fill() p.end_fill()
p.hideturtle() p.hideturtle()
p.done() 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