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