April 2024
Beginner to intermediate
500 pages
24h 20m
English
position() Return the turtle’s current location as an (x, y) tuple.
towards(pos, y=None) Return the angle between the turtle’s current heading and the location passed as a parameter.
heading() Return the current heading of the turtle.
distance(pos, y=None) Return the distance from the turtle’s current location and the location passed as a parameter.
Read now
Unlock full access