Mastermind Puzzle (3-digit Combination Lock) -- Elegant (readable) code Sought
(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.
Fnews-brouse 1.9(20180406) -- by Mizuno, MWE <mwe@ccsf.jp>
GnuPG Key ID = ECC8A735
GnuPG Key fingerprint = 9BE6 B9E9 55A5 A499 CD51 946E 9BDC 7870 ECC8 A735