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