Your goal is to find the secret four-color code. The following colors are possible: black, red, white, green, purple, yellow.
Some guesses have already been made. I will provide feedback for each guess made with which it is possible to unambigiously determine the secret code.

Previous Guesses:
Guess: ['white', 'green', 'red', 'black']. Hint: two colors are in the correct positions.
Guess: ['black', 'black', 'red', 'red']. Hint: one color is in the secret code but in the wrong position.
Guess: ['white', 'purple', 'yellow', 'purple']. Hint: one color is in the correct position and one color is in the secret code but in the wrong position.
Guess: ['white', 'white', 'purple', 'black']. Hint: one color is in the correct position and one color is in the secret code but in the wrong position.
A B C D
purple, black, yellow, black purple, green, yellow, black yellow, green, yellow, black purple, yellow, red, green