5.7. Changing Turtle Programs

Run the following program.

Slightly Harder Problem: Now, let’s connect the end point to the starting point. The shape we’ll create is a right triangle (a triangle that has a 90 degree interior angle). The number 57 isn’t guesswork – it is roughly the square root of 40^2 + 40^2. However, there is an error in this program and it won’t work as intended. Can you fix it?

Note

Discuss topics in this section with classmates.

Show Comments
You have attempted of activities on this page