PyDocs

Nav

Graphical user interfaces with Tk

ycor

turtle

function
  • ycor()
Return the turtle’s y coordinate.
1 Example
>>> turtle.home()
>>> turtle.left(60)
>>> turtle.forward(100)
>>> print(turtle.pos())
(50.00,86.60)
>>> print(round(turtle.ycor(), 5))
86.60254
from the Python docs
See Also
No see-alsos for turtle/ycor
0 Notes
No notes for ycor