import math import turtle
def drawCircleTurtle(x, y, r): # move to start of circle turtle.up() turtle.setpos(x + r. y) turtle.down()
# draw the circle for i in range (0, 365, 5) a = math.radians(i) turtle.setpos(x + r*math.cos(a) , y + r*math.sin(a))
Python Circle Test
import math import turtle
draw circle using using turtle
def drawCircleTurtle(x, y, r): # move to start of circle turtle.up() turtle.setpos(x + r. y) turtle.down()
by fredhatter6@gmail.com, 4 years agoPlease log in to post a comment.