Groups | Search | Server Info | Login | Register
Groups > comp.lang.lisp > #59397
| From | Paul Rubin <no.email@nospam.invalid> |
|---|---|
| Newsgroups | comp.lang.lisp, fr.comp.lang.lisp, fj.comp.lang.lisp |
| Subject | Re: Mastermind Puzzle (3-digit Combination Lock) -- Elegant (readable) code Sought |
| Date | 2024-02-26 00:12 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <87a5nn1w58.fsf@nightsong.com> (permalink) |
| References | <urh45k$2br0h$2@dont-email.me> |
Cross-posted to 3 groups.
HenHanna <HenHanna@gmail.com> writes: > Could you share a short, VERY Readable Pythonic (or Common Lisp, > Scheme) code that solves this? This is getting spammy. It would have been preferable to cross post if you were going to ask for different languages. (I posted a solution in comp.lang.python). It's a cute puzzle but the basic approach is the same in any traditional language, more or less. It would be more interesting to try something like Prolog where you'd use a built in constraint solver.
Back to comp.lang.lisp | Previous | Next — Previous in thread | Next in thread | Find similar
Mastermind Puzzle (3-digit Combination Lock) -- Elegant (readable) code Sought HenHanna <HenHanna@gmail.com> - 2024-02-25 20:30 -0800
Re: Mastermind Puzzle (3-digit Combination Lock) -- Elegant (readable) code Sought Kaz Kylheku <433-929-6894@kylheku.com> - 2024-02-26 07:34 +0000
Re: Mastermind Puzzle (3-digit Combination Lock) -- Elegant (readable) code Sought Paul Rubin <no.email@nospam.invalid> - 2024-02-26 00:12 -0800
Re: Mastermind Puzzle (3-digit Combination Lock) -- Elegant (readable) code Sought Madhu <enometh@meer.net> - 2024-02-26 14:56 +0530
Re: Mastermind Puzzle (3-digit Combination Lock) -- Elegant (readable) code Sought Kaz Kylheku <433-929-6894@kylheku.com> - 2024-02-26 18:24 +0000
Re: Mastermind Puzzle (3-digit Combination Lock) -- Elegant (readable) code Sought steve <sgonedes1977@gmail.com> - 2024-04-20 16:25 -0400
csiph-web