• Re: (Mastermind) puzzle (with 3 digits) (Posting On Python-ListProhibited)

    From Lawrence D'Oliveiro@ldo@nz.invalid to comp.lang.python on Wed Feb 28 05:29:05 2024
    From Newsgroup: comp.lang.python

    On Wed, 28 Feb 2024 17:29:54 +1300, Greg Ewing wrote:

    This is not correct. score((1,1,1), (1,1,2)) gives (2,4).

    As a general solution, you would be right. As a solution to this
    particular problem (with no repeated numbers), it did the job.
    --- Synchronet 3.20a-Linux NewsLink 1.114