Return the turtle's current location (x,y), as a Vec2D-vector. Aliases: pos | position No arguments. Example (for a Turtle instance named turtle): >>> turtle.pos() (0.00, 240.00)
(self)
| 1767 | self._rotate(angle) |
| 1768 | |
| 1769 | def pos(self): |
| 1770 | """Return the turtle's current location (x,y), as a Vec2D-vector. |
| 1771 | |
| 1772 | Aliases: pos | position |
| 1773 | |
| 1774 | No arguments. |
| 1775 | |
| 1776 | Example (for a Turtle instance named turtle): |
| 1777 | >>> turtle.pos() |
| 1778 | (0.00, 240.00) |
| 1779 | """ |
| 1780 | return self._position |
| 1781 | |
| 1782 | def xcor(self): |
| 1783 | """ Return the turtle's x coordinate. |