turtle.left(angle)
turtle.lt(angle)
Parameters: | angle – a number (integer or float) |
---|
Turn turtle left by angle units. (Units are by default degrees, but can be set via the degrees()
and radians()
functions.) Angle orientation depends on the turtle mode, see mode()
.
>>> turtle.heading() 22.0 >>> turtle.left(45) >>> turtle.heading() 67.0
Please login to continue.