how to draw a circle
import turtle
def draw_circle(turtle,color,size,x,y):
turtle.penup()
turtle.color(color)
turtle.fillcolor(color)
turtle.goto(x,y)
turtle.pendown()
turtle.begin_fill()
turtle.circle(size)
turtle.end_fill()
square=turtle.Turtle()
square.speed(500)
draw_circle(square, "green", 50, 25, 0)
3.67
6
u cant
Thank you!
6
0
Are there any code examples left?
New code examples in category Other