Return the turtle's y coordinate --- No arguments. Example (for a Turtle instance named turtle): >>> reset() >>> turtle.left(60) >>> turtle.forward(100) >>> print(turtle.ycor()) 86.6025403784
(self)
| 1794 | return self._position[0] |
| 1795 | |
| 1796 | def ycor(self): |
| 1797 | """ Return the turtle's y coordinate |
| 1798 | --- |
| 1799 | No arguments. |
| 1800 | |
| 1801 | Example (for a Turtle instance named turtle): |
| 1802 | >>> reset() |
| 1803 | >>> turtle.left(60) |
| 1804 | >>> turtle.forward(100) |
| 1805 | >>> print(turtle.ycor()) |
| 1806 | 86.6025403784 |
| 1807 | """ |
| 1808 | return self._position[1] |
| 1809 | |
| 1810 | |
| 1811 | def goto(self, x, y=None): |
no outgoing calls