create a function to copy turtle coordinates from user mouse clicks on the screen
def copyTurtleCoords(): def callback(x, y): print ('Clicked at', x, y) screen = turtle.Screen() turtle.TurtleScreen.__init__(screen) screen.onclick(callback) turtle.mainloop() # Example of use copyTurtleCoords()