def place_turtles(v_spacing): # create objects for each turtle turtle_objs = [] for i, turtle_name in enumerate(TURTLES, start=1): turtle = Turtle("turtle") turtle.color_str = TURTLES[turtle_name] turtle.name = turtle_name turtle.color(turtle.color_str) turtle.penup() curr_y = i * v_spacing turtle.goto(25, curr_y) turtle.pendown() turtle_objs.append(turtle) return turtle_objs