turtle.back()

turtle.back(distance) turtle.bk(distance)

turtle.backward(distance)

Parameters: distance – a number

Move the turtle backward by distance, opposite to the direction the turtle is headed. Do not change the turtle’s heading.

>>> turtle.position()
(0.00,0.00)
>>> turtle.backward(30)
>>> turtle.position()
(-30.00,0.00)
doc_python
2016-10-07 17:45:22
Comments
Leave a Comment

Please login to continue.