Einstein's Riddle

Boris Popov no-spam-popov at bigserver.com
Mon Mar 12 00:29:25 EST 2001


"Brian Harvey" <bh at abbenay.cs.berkeley.edu> wrote in message
news:98h62k$knn$1 at abbenay.CS.Berkeley.EDU...
> "Boris Popov" <no-spam-popov at bigserver.com> writes:
> >house         1 2 3 4 5
> >color            yellow blue red green white
> >nationality   norweigian dane brit german swede
> >drink            water tea milk coffee beer
> >smoke        dunhill blend pall mall prince bluemaster
> >pet              cats horse birds fish dogs
> >
> >P.S. Did I have to write software to solve it ? :)
>
> I can't resist being (apparently) first to post a computer program.
> But it doesn't really belong in any of these newsgroups, because it's
> written in Logo.

Khm... I thought that software is impossible to write for this particular
problem. The thing is that there's no fifth pet element (fish) explicitly
defined in the puzzle. And it will definetely blow up if you run it with no
"fish"... :)

-Boris





More information about the Python-list mailing list