[Tutor] Problem with "elif"

Andrei Kulakov ak@silmarill.org
Sun, 25 Nov 2001 18:04:13 -0500


On Sun, Nov 25, 2001 at 10:52:11PM +0000, alan.gauld@bt.com wrote:
> > >>> y = 1900
> > >>> leap = "no"
> > >>> if y % 400 == 0 :
> >         leap = "yes"
> >     elif y % 100 == 0 :
> >             
> > IndentationError: unindent does not match any outer 
> > indentation level (line 3)
> 
> This looks like you are using IDLE - coz there are no ... prompts.

I never used it, but this sucks.. *Especially* cause it'd be really easy
to fix.

 - Andrei