Python Python Basics Types and Branching Use an if

where am I going wrong?

add branching

branching.py
favorite_color = input("What is your favorite color?  ")
print("Hello", favorite_color, "My favorite color is blue")
if favorite_color == "blue"
   print("You must love the sky!, {}:".format(favorite_color))

thank you for the help

1 Answer

KRIS NIKOLAISEN
KRIS NIKOLAISEN
53,693 Points

Although you are printing more than what is asked for, what is causing the challenge to fail is you are missing a colon at the end of your if statement.

if favorite_color == "blue":