Cookie Monster

Gene Heskett gene.heskett at verizon.net
Wed Jul 28 09:07:42 EDT 2004


On Wednesday 28 July 2004 08:32, Guyon Morée wrote:
>hey, shall we start a sourceforge project for this?
>
>;)
>
>
>"Peter Hansen" <peter at engcorp.com> wrote in message
>news:l7WdnV1p5e8wH5rcRVn-ig at powergate.ca...
>
>> Patrick Zittle wrote:
>> > Does anyone know the code for the cookie monster app?  It is a
>> > little app that when you start it up it says "I want a cookie" 
>> > and if you answer anything but "cookie" it asks you agian.  If
>> > you answer "cookie" it goes away.  It was on the movie "Hackers"
>> > i belive.  I also saw it in a learning python book but can't
>> > remember which one.  If someone could please post the code for
>> > it on this mailing list.  Thanks a lot!!!
>>
>> You mean this?
>>
>> while raw_input('I want a cookie. ') != 'cookie':
>>      pass
>>
>> -Peter

Chuckle...  This thing is approaching voting age by now.  I remember 
it was available for the amiga back in the late 80's-90's time frame.  
That one was written in arexx IIRC. And ISTR that we had one written 
in Basic09 for the tRS-80 Color Computer running os9 in the mid 80's.
I think its like the locusts, with a somewhat faster lifecycle. :-)


-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.23% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.



More information about the Python-list mailing list