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