[Tutor] if...

McCarney, James Alexander James.Alexander.McCarney@Cognicase.com
Mon Nov 11 16:43:05 2002


Could it be the amount of indentation you are using?
 Usually if you let IDLE handle the indenting it works as expected, but then
I am not running Debian Linux...

-->if x < y:
-->  print x, "is less than", y
-->elif x >  y:
-->  print x, "is greater than", y
-->else:
-->  print x, "and", y, "are equal"