LAB, CONT. Choose one of the following two python projects to complete color_mixer.py or coin_counter.py: color mixer.py: When you mix red paint with blue, you get purple; when you mix red paint with...


LAB, CONT.<br>Choose one of the following two python projects to complete color_mixer.py or coin_counter.py:<br>color mixer.py: When you mix red paint with blue, you get purple; when you mix red paint with yellow, you get<br>orange; when you mix blue paint with yellow, you get green.<br>Write a program that asks the user to enter a 1st color choice from a set of options: red, yellow or blue, and<br>then asks them to enter a 2nd color choice from the remaining 2.<br>Use conditional logic to control the flow of the program, figure out the mixed color, and report it back to the<br>user in a nice-looking display.<br>120<br>0OT<br>Include feedback to handle unexpected input, such as entering the same color twice, or mis-spellings.<br>Remember to include 2 types of comments in your program (

Extracted text: LAB, CONT. Choose one of the following two python projects to complete color_mixer.py or coin_counter.py: color mixer.py: When you mix red paint with blue, you get purple; when you mix red paint with yellow, you get orange; when you mix blue paint with yellow, you get green. Write a program that asks the user to enter a 1st color choice from a set of options: red, yellow or blue, and then asks them to enter a 2nd color choice from the remaining 2. Use conditional logic to control the flow of the program, figure out the mixed color, and report it back to the user in a nice-looking display. 120 0OT Include feedback to handle unexpected input, such as entering the same color twice, or mis-spellings. Remember to include 2 types of comments in your program ("""doc string at the top" customize/ improve how the program looks and acts, through a process of testing and # short thru-out) & Run several times to show ALL the possible options. What happens when you mix 2 different primary colors? Enter a primary color - red, yellow or blue: green It's tricky to get this to work! Solutions that are close are accepted Please enter the word red, yellow or blue only: red Enter a 2nd primary color, not the same as the first: red Select a different primary color for color 2: blue Nice! Red and blue make purple! Thanks for using the program 130

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here