Groups | Search | Server Info | Login | Register
Groups > comp.lang.lisp > #59395
| From | HenHanna <HenHanna@gmail.com> |
|---|---|
| Newsgroups | comp.lang.lisp, fr.comp.lang.lisp, fj.comp.lang.lisp |
| Subject | Mastermind Puzzle (3-digit Combination Lock) -- Elegant (readable) code Sought |
| Date | 2024-02-25 20:30 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <urh45k$2br0h$2@dont-email.me> (permalink) |
Cross-posted to 3 groups.
(i just wrote (non-elegant) Python code.)
Could you share a short, VERY Readable Pythonic (or Common Lisp, Scheme)
code that solves this?
Thank you!
https://i.imgur.com/72LGJjj.jpeg
3 digit lock
[682]: One number is correct and well-placed
[614]: One number is correct but wrongly placed
[206]: Two numbers are correct but wrongly placed
[738]: Nothing is correct
[780]: One number is correct but wrongly placed
HINT -- A mark of a great puzzle, this one contains a surprise or two.
Back to comp.lang.lisp | Previous | Next — 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