Commit 3e72e8b2 by BellCodeEditor

save project

parent 8e1899fb
Showing with 4 additions and 4 deletions
"""
请使用turtle模块画出五角星
"""
import turtle
Pen = turtle.Pen()
Pen.fillcolor("red")
Pen.begin_fill()
for i in range(5):
Pen.forward(100)
Pen.forward(300)
Pen.left(144)
en.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