(iso Pythonic code) -- if Usenet allowed a small image embedded in a msg, ...

HenHanna <[email protected]>
Newsgroups news.software.readers,alt.culture.usenet
Organization A noiseless patient Spider
Message-ID <[email protected]>
i just think that...   if Usenet allowed a small image to be
           embedded in a post, its appeal would be so much Greater!



Number-dle (Mastermind) puzzle (with 3 digits)


                 (i just wrote (non-elegant) Python code.)


Could you share a short, VERY Readable Pythonic 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 surprises or two.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.