120k views
4 votes
What command would you use to change the speed at which the turtle moves?

User Bluelurker
by
8.4k points

1 Answer

5 votes

Final answer:

To change the speed at which the turtle moves, you would use the speed() command in turtle graphics. This command allows you to specify a number from 0 to 10, where 0 is the slowest speed and 10 is the fastest speed.

Step-by-step explanation:

To change the speed at which the turtle moves, you would use the speed() command in turtle graphics. This command allows you to specify a number from 0 to 10, where 0 is the slowest speed and 10 is the fastest speed.

For example, if you want to set the turtle's speed to the fastest, you would use the command speed(10). Alternatively, if you want to set the turtle's speed to the slowest, you would use the command speed(0).

Changing the speed of the turtle affects how quickly it moves when executing movement commands such as forward() or backward().

User Mikael Vandmo
by
9.1k points