(python) synthax error in a very basic script


Hi there
I'm more than a newbie in coding and my trying to learn the basic in Python.
I am using textWrangler and the terminal.

What's wrong in line 2? I copied it from an online tool and the script is such a basic one...

thanks a lot for your patience

p.s. I tested all possible variations as adding the space (i.e. X < 10)


a colon is missing:

if condition:


Thank YOU
I feel like a dumbhead.
Sorry for such a naive question :dizzy_face:


no need to apologizes, programming is very difficult. And very confusing when you start, a mistake is easily made :wink: