Python Python Basics Types and Branching Use an if

Märt Himmaste
Märt Himmaste
217 Points

Branching

How did this get me an error in Challenge Task? Did the same on the workplace, saved the file and it worked there....

branching.py
favorite_color = input("What is your favorite color?  ")
if favorite_color == "Blue":
    print("You must love the sky!")

1 Answer

Chris Freeman
MOD
Chris Freeman
Treehouse Moderator 65,221 Points

Hey Märt Himmaste, You are SUPER close! The string "blue" should be all lowercase!

Post back if you need more help. Good Luck!!

Märt Himmaste
Märt Himmaste
217 Points

Thanks for the help it worked!