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