Since the command fd requires one argument, it is taken as the next value. Similarly, rt takes one argument also. Thus, Logo can give unambiguous meaning to each of these character strings. For some Logo commands separators are needed. In the above example, the commands fd 60 rt 120 are repeated three times.
Logo provides the repeat command.
The following command has the same effect as those given in the above example. The square brackets indicate that the enclosed commands are to be executed three times. Other Turtle Moving and Drawing Commands Logo has a number of other drawing commands, including those shown below. The pendown and penup commands tell the turtle to leave ink on the screen as it moves or not leave ink, respectively. The hideturtle and showturtle commands hide or show the turtle but do not affect its ability to leave ink as it moves.