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