What am I doing wrong in this simple tkinter example?
Yves S. Garret
yoursurrogategod at gmail.com
Sat Mar 16 11:34:07 EDT 2013
On Saturday, March 16, 2013 11:23:07 AM UTC-4, Chris Angelico wrote:
> On Sun, Mar 17, 2013 at 2:16 AM, Yves S. Garret
>
> <your... at gmail.com> wrote:
>
> > In the example that I have posted from the book it works just fine.
>
>
>
> Yep, I just checked the book's version again and the difference is
>
> clear. Check out the two lines I quoted in my previous post, and look
>
> at the corresponding two lines in the book's version. You should see
>
> the difference. :)
>
>
>
> By the way, I like the choice of secret. It lends itself well to a
>
> discussion of recursion - how do you live to 99? Live to 98, then be
>
> careful. Etcetera. You need just one special case: How do you live to
>
> 1? Be born, then be careful. And there you have it, a perfect problem
>
> for defining recursion vs iteration, as both can do the job!
>
>
>
> ChrisA
*facepalm*
Yep, I see it :) . Thanks for your help.
More information about the Python-list
mailing list