Python Python Basics Types and Branching Use an if

making errors i do not know about and how can i fix this. it works perfectly in IDLE but not on treehouse

Task #1 in learning python with if and else statements isnt working as it is

2 Answers

Antonio De Rose
Antonio De Rose
20,860 Points

send us the code, that you have tried out.

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

Are you running Python 3? We are in workspaces. printis a statement in Python 2 and a function in 3.