On this page
turtle.backward
Up: turtle | Next: turtle.forward
Rel: turtle.forward, turtle.left, turtle.pendown, turtle.penup
Ref: docs.python.org — turtle.backward
Tags: #public #python3 #stdlib #turtle
Import
import turtle
from turtle import backward
Signature & Overview
turtle.backward(distance)
Move the turtle backward by distance.
Usage
import turtle
# Moves the default turtle backward by `distance` pixels without changing heading
assert callable(turtle.backward)
Gotchas
- GUI-only (raises
_tkinter.TclErrorin headless environments).
REPL Inspect
from turtle import backward
help(backward)
Linked from
- tuts/python3/stdlib_module/turtle
- tuts/python3/stdlib_module/turtle/forward
- tuts/python3/stdlib_module/turtle/left
- tuts/python3/stdlib_module/turtle/pendown
- tuts/python3/stdlib_module/turtle/penup
- tuts/python3/stdlib_module/turtle/right
- tuts/python3/stdlib_module/turtle/Screen
- tuts/python3/stdlib_module/turtle/Turtle
Related notes
- tuts/python3/stdlib_module/turtle/forward Linked here; links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle/left Linked here; links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle/pendown Linked here; links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle/penup Linked here; links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle/Turtle Linked here; links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle/right links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle/Screen links to this page; shared tags: #stdlib, #turtle
- tuts/python3/stdlib_module/turtle links to this page; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib