The colors red, blue, and yellow are known as the primary colorsbecause they cannot be made by mixing other colors. When you mixtwo primary colors, you get a secondary color, as shown here:
- When you mix red and blue, you get purple.
- When you mix red and yellow, you get orange.
- When you mix blue and yellow, you get green.
Design a python program that prompts the user to enter the namesof two primary colors to mix. If the user enters anything otherthan “red,” “blue,” or “yellow,” the program should display anerror message. Otherwise, the program should display the name ofthe secondary color that
OR
OR