Commit 00372844 by BellCodeEditor

auto save

parent 9c87f5c5
Showing with 4 additions and 3 deletions
import turtle
def drawstar(pen,color,length):
def drawstar(pen,color,fillcolor,length):
pen.pencolor(color)
for i in range(5):
pen.forward(length)
pen.right(144)
pen.end_fill()
pen=turtle.Pen()
pen.home()
drawstar(pen,"green",320)
drawstar(pen,"green","purple",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