Jun-24-2018, 07:29 PM
Hello guys, im trying to make something where i give 4 imputs that eventually has to read a excel file.
So the problem that im having is that the begin_fill() function doesnt work. I only get a "open" circle.
Here is my code
So the problem that im having is that the begin_fill() function doesnt work. I only get a "open" circle.
Here is my code
import turtle as t t.speed(10000) def drawOpenCircle(color,x,y,r): t.pencolor(color) t.down() for i in range(90): t.forward(2*3.1415*r/90) t.right(4) t.done() def drawFilledCircle(color,x,y,r): t.fillcolor(color) t.begin_fill() drawOpenCircle(color,x,y,r) t.end_fill() drawFilledCircle('red',50,50,50)My desired output is a filled circle.