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