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