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...

Making great stuff takes time and $$. If you appreciate the book you are reading now and want to keep quality materials free for other students please consider a donation to Runestone Academy. We ask that you consider a $10 donation, but if you can give more thats great, if $10 is too much for your budget we would be happy with whatever you can afford as a show of support.

You have attempted 1 of 5 activities on this page