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