Answered step by step
Verified Expert Solution
Question
1 Approved Answer
python COMPILER ERROR MESSAGES SyntaxError: invalid syntax (ColorMixer.py, line 10) 10 print ( You didn't input two primary colors. ') 1 color1-input ('Enter primary color:)
python
COMPILER ERROR MESSAGES SyntaxError: invalid syntax (ColorMixer.py, line 10) 10 print ( You didn't input two primary colors. ') 1 color1-input ('Enter primary color:) 2 color2-input ('Enter primary color:') 3 if color1'red' and color2--'blue' or color1'blue' and color2- 'red': 4 print( 'When-you mix red and blue, you get purple') if colorl-'red' and color2yellow or color1 'yellow' and color2-'red': rint ( 'When you mix red and yellow, you get orange) if color1-='blue' and color2-=.yellow" or color1-='yellow, and color2-'blue": 6 print ( 'When you mix blue and yellow, you get ereen') else: 10 print( 'You didn't input two primary colors
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started