Python Python Basics Types and Branching Use an if

what am i doing wrong ?

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

1 Answer

Josh Keenan
Josh Keenan
19,311 Points

Treehouse challenges are fickle, change this line:

# from this
if favorite_color == "Blue" :

# to this
if favorite_color == "blue":

You are failing because you have "Blue", not "blue".

Adam N
Adam N
66,219 Points

It's moreso because Python is fickle lol.

'Blue' != 'blue' # true
Josh Keenan
Josh Keenan
19,311 Points

You are right but other code schools often give you better pointers other than just Bummer, you can get a hint and personally I think that kind of feedback is needed so I level blame at treehouse.