Object-Oriented Programming · Tesla · Medium
Determine an unknown six-letter word by invoking the master.guess(word) API only a restricted number of times. You receive wordlist, containing distinct words that are all six letters long. The hidden word is assured to appear in wordlist. API: master.guess(word: str) -> int For a submitted word, this returns how many character indexes, from 0 through 5, contain the identical character in both the submission and the hidden word. No more than 10 invocations of master.guess…
Checking your access…