Commit 740fe80f by BellCodeEditor

save project

parent e03e17fa
Showing with 5 additions and 3 deletions
import turtle import turtle
def draw5anglestar(pen,lenth,color,fcolor): def draw5anglestar(pen,lenth,size,color,fcolor):
pen.pensize(size)
pen.color(color) pen.color(color)
pen.fillcolor(fcolor) pen.fillcolor(fcolor)
pen.begin_fill() pen.begin_fill()
...@@ -11,6 +12,6 @@ def draw5anglestar(pen,lenth,color,fcolor): ...@@ -11,6 +12,6 @@ def draw5anglestar(pen,lenth,color,fcolor):
pen=turtle.Pen() pen=turtle.Pen()
pen.home() pen.home()
draw5anglestar(pen,200,"pink","black") draw5anglestar(pen,200,3,"pink","black")
turtle.hideturtle() turtle.hideturtle()
turtle.done() 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