Commit a5efa2c8 by BellCodeEditor

save project

parent da65dbe8
Showing with 3 additions and 1 deletions
......@@ -2,12 +2,14 @@
请使用turtle模块画出五角星
"""
import turtle
SB=turtle.Pen()
SB.color("yellow","green")
SB.begin_fill()
for i in range(5):
SB.forward(100)
SB.right(144)
SB.hideturtle()
SB.end_fill()
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