I need help creating a python function that makes concentric circles. I already have a function that makes a circle(from the Python Programming book), so I thought I'd use a for loop; however, I'm not sure how. Here's what I have so far: (where 'number' is the number of circles, and 'distance' is the space between them)
def concentric (myTurtle,number,distance): for i in range(1,number): drawCircle(myTurtle,distance) myTurtle.up() myTurtle.left(90) myTurtle.forward(spacing) myTurtle.right(90) myTurtle.down()
Any and all help would be greatly appreciated!