🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266891

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

#266891
From: HenHanna
Date: Sun, 25 Feb 2024 21:14
28 lines
1662 bytes
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.
Technical Details
Message-ID: <urgajg$22g45$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <urgajg$22g45$1@dont-email.me>
Subject: (iso Pythonic code) -- if Usenet allowed a small image embedded in a msg, ...
Date: Sun, 25 Feb 2024 13:14:24 -0800
From: HenHanna <HenHanna@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers,alt.culture.usenet
Organization: A noiseless patient Spider
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 25 Feb 2024 21:14:24 -0000 (UTC)
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:rlRwrTHSy50ZTVBvGFE5ciC2r8g=
Content-Language: en-US