Cody Bable

Generation

generate functionFri, 28 Apr 2023

create a function to redraw the drawing in turtle from user mouse clicks

def redraw(): turtle.clear() turtle.pendown() turtle.goto(pos_list[0]) turtle.goto(pos_list[1]) turtle.goto(pos_list[2]) turtle.goto(pos_list[3])

Questions about programming?Chat with your personal AI assistant