turtle.sety()¶
-
turtle.sety(y)¶ Set the turtle’s second coordinate to y
Argument: y – a number (integer or float)
Set the turtle’s first coordinate to x, second coordinate remains unchanged.
Example: >>> position() (0.00, 40.00) >>> sety(-10) >>> position() (0.00, -10.00)