Python Python Basics Types and Branching Use an if

What is wrong with this code?

I cannot figure out what is wrong with this code, please help. Thank You
favorite_color = input("What is your favorite color?  ")
if favorite_color == "blue"
    print("You must love the sky!")

2 Answers

Steven Parker
Steven Parker
182,566 Points

An "if" statement must end with a colon (":"). Otherwise, you've got it. :+1:

Thank You!