Untitled
unknown
python
3 years ago
456 B
11
Indexable
# Ask the user for their favorite color and store their response in a variable called "color"
# Use an if statement to check whether the user's response matches any of the specified colors
if :
# If the user's response is "blue", print out "Great choice!"
elif :
# If the user's response is "red", print out "That's a bold color!"
else:
# If the user's response is any other color, print out "Interesting choice."
Editor is loading...