Commit 3b0c29f6 by BellCodeEditor

auto save

parent fa0dff60
Showing with 17 additions and 0 deletions
import turtle
def drawstar(pen,color,fillcolor,length):
pen.pencolor(color)
pen.fillcolor(fillcolor)
pen.begin_fill()
for i in range(5):
pen.forward(length)
pen.right(144)
pen.end_fill()
pen=turtle.Pen()
pen.home()
drawstar(pen,"green","red",320)
turtle.done()
\ 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