The code is at
< http://py77.python.pastebin.com/f3b6a6f3>

The problem is shown at < http://www.rcblue.com/images/Turtle_Triangle_Problem.jpg>.

I'd very much like to get rid of that last line, in this example the purple(?) one that heads northwest from the same-colored triangle. It's at this point that the script pauses for 3 seconds to show off what it's created. I'd like it to show only triangles.

On cursory inspection you might think that the solution is simple: remove lines 86-87. But in fact, without these 2 lines a cycle ends with 2 extra lines (2 sides of an unfinished triangle).

Anyone see a solution?

Thanks,

Dick Moores

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to