Commit 1dc95df2 by BellCodeEditor

save project

parent 001fafed
Showing with 11 additions and 0 deletions
import turtle
def draw5star(pen,fillcolor,length):
pen.fillcolor(fillcolor)
pen.begin_fill()
for i in range(5):
pen.forward(length)
pen.right(144)
pen.end_fill()
pen=turtle.pen
draw5star(pen,"pink",150)
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