Your goal is to find the secret four-color code. The following colors are possible: black, red, green, yellow, white, purple.
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: ['black', 'yellow', 'red', 'purple']. Hint: two colors are in the correct positions.
Guess: ['black', 'black', 'green', 'red']. Hint: two colors are in the secret code but in the wrong positions.
Guess: ['green', 'white', 'purple', 'purple']. Hint: two colors are in the secret code but in the wrong positions.
A B C D
yellow, red, yellow, white black, green, yellow, black green, black, red, green white, yellow, red, green