vendredi 9 octobre 2015

If, else Invalid syntax [on hold]

>>> x=3
>>> y=5
>>> if x<y:
    print ('x<y')
    else :

SyntaxError: invalid syntax

When I click enter after the else: it shows syntax error, I don't understand what is the problem, I am using Python 3.4.1

Aucun commentaire:

Enregistrer un commentaire