Write the command to move turtle 20 steps backward
Answers
Turtle Commands
Active
Set a turtle as active. Only active turtles will
process commands. (If no turtle is specified,
all turtles will be set as active.)
Backward Bk
Move the turtle backwards by the specified
number of millimetres for example:
backward 10
Clean
Remove all turtle trails from the active view. This
does not remove dropped trails.
Clear
Clear the command line window.
ClearScreen Cs
Remove all turtle trails from the active view, then
returns the turtle to its home position.
Drop
Create a separate object from the current turtle
trail, and detach it from the turtle (so commands
like “clean” will have no effect on the dropped
trail).
East
Move a turtle right (north is assumed to be
vertical) a specified number of millimetres.
(If no turtle is specified, move all turtles right the
specified number of millimetres.) This does not
change the turtle’s orientation. For example:
east 20
Else
Start of a block of commands to process in the
event a proceeding “if” condition fails;
for example:
if i > 1
forward 10
else
right 90
end
End
End a conditional block, e.g., while, if, if else; for
example:
while i > 0
forward 20
To move the turtle 20 steps backward, we have to type in:
backward 20
If your pen is positioned down, then it will draw a line while going backwards, else it will not draw anything.
Hope it helps !!!