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?

Before you keep reading...

Runestone Academy can only continue if we get support from individuals like you. As a student you are well aware of the high cost of textbooks. Our mission is to provide great books to you for free, but we ask that you consider a $10 donation, more if you can or less if $10 is a burden.

Note

Discuss topics in this section with classmates.

Show Comments
You have attempted 1 of 5 activities on this page