[Tutor] Strange error

Markus Wessel-Therhorn markus-wt@gmx.de
Thu, 21 Feb 2002 15:23:36 +0100 (MET)

Hi folks.
I started learning python about a week ago and I found a strange problem.
please look at this code:

>>> a = 1
>>> b = 2
>>> if a > b:
print "a > b"
elif a < b:

SyntaxError: invalid syntax

As the source for the error he points to the "elif". Is this problem somehow
connected with IDLE or did i just make a misstake? i did it exactly like in
the tutorial and I got no idea why it does not work.
Would be very nice if someone could help me,

GMX - Die Kommunikationsplattform im Internet.