Using the concepts of function, we got that to tell how far the turtle has travelled ,my function will be defined as: def distance(x, y) where x and y are the final co-ordinates of turtle.
The turtle module actually provides turtle graphics primitives, in both the object-oriented and the procedure-oriented ways. Because it uses kinter for the underlying graphics, it needs a version of Python installed with Tk support.
Turtle. distance()
This method is actually used to return the distance from the turtle to (x, y) in turtle step units.
Hence, if am going create a new function to tell how far the turtle has travelled. your function will be defined as: def distance(x, y) where x and y are the final co-ordinates of turtle.
To know more about function, visit here:
https://brainly.com/question/21145944
#SPJ4