What is the repeat commands of mswlogo?

1 answer

Answer

1173666

2026-03-10 16:50

+ Follow

In MSWLogo, the REPEAT command allows you to execute a set of instructions multiple times. The syntax is REPEAT <number> [commands], where <number> specifies how many times to repeat the enclosed commands. For example, REPEAT 4 [FORWARD 100 RIGHT 90] would move the turtle forward 100 units and then turn right 90 degrees, repeating this sequence four times to create a square. This command is useful for creating patterns and shapes efficiently.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.