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