Question: Activity 5: Write a program called favorite.py that asks the user to enter a color name. If the color entered happens to be your favorite

Activity 5: Write a program called favorite.py that asks the user to enter a color name. If the color entered happens to be your favorite color, print a message "We have the same favorite color!". Otherwise, do not print any response. (Be very careful with punctuation in this program. The if clause must end with a colon, or python will complain.) # copy and paste your favorite.py here Notice that to check whether your program works corectly, you will now have to run it at least twice, entering colors that test both outcomes. Now add one statement to your program that will cause it to print "Goodbye!" just before it ends, regardless of the color entered. Obviously, you also want to test your program to make sure it works. # copy and paste your whole program here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
