PyDocs

Nav

Graphical user interfaces with Tk

setx

turtle

function
  • setx(x)
Set the turtle’s x coordinate to x. The y coordinate is unchanged.
1 Example
>>> turtle.position()
(0.00,240.00)
>>> turtle.setx(10)
>>> turtle.position()
(10.00,240.00)
from the Python docs
See Also
No see-alsos for turtle/setx
0 Notes
No notes for setx