Why isn't my code working
I am confused. I am pretty sure, that the code is right, I don't understand why it isn't working. What I am trying to do is create a star that is filled in. Can someone help me find my mistake?
Voters
I am confused. I am pretty sure, that the code is right, I don't understand why it isn't working. What I am trying to do is create a star that is filled in. Can someone help me find my mistake?
you made a function called
mystar
, but you didnt call it.just do
mystar(size, filled)
and i think you have to replace size with a number and filled with a color i think.hope this helps! =)
def mystar(size,filled)
, it's on line 4no you defined the function.
@SreePaladugunow you have to call it, like execute it/
no, put
def mystar(size, filled)
afterwards, out of the function loop. like the last line, but not indented.then you replace size with a number and filled with a color i think
@SreePaladuguno take the
@SreePaladugu```
at the end off.also delete the second to last line (
mystar(size,filled)
put quotation marks around yellow

hum maybe thats just your math. i found this, maybe it can help: https://stackoverflow.com/questions/26356543/turtle-graphics-draw-a-star
@SreePaladugu
sure,
cool and thanks for selecting my answer =)
@SreePaladugu