At 03:04 AM 6/12/2008, Andre Engels wrote:
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
2008/6/12 Dick Moores <[EMAIL PROTECTED]>:
> 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?
I have been playing around a bit, and if you remove line 86, but leave
line 87 in, it seems to work as you intend.
YES! Thanks very much!
Dick
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor