<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><STRONG><FONT face="Franklin Gothic Medium" 
size=4></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face="Franklin Gothic Medium" size=4>I am having a problem 
getting the IF/ELIF to cooperate with me. I am using a sample 
from:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Learn to program&nbsp; By Alan Gauld. I keep 
getting this msg:&nbsp;&nbsp;&nbsp; </FONT></STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT face="Franklin Gothic Medium" size=4>IndentationError: 
unindent does not match any outer indentation level (&lt;pyshell#3&gt;, line 
3)</FONT></STRONG></DIV>
<DIV>&nbsp;</DIV><STRONG><FONT face="Franklin Gothic Medium" size=4>
<DIV><BR>&nbsp; But When I don't indent I get: 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
SyntaxError: invalid 
syntax<BR>_________________________________________________________________________________</DIV>
<DIV>&nbsp;</DIV>
<DIV>This is the sample I was trying:</DIV>
<DIV>&nbsp;</DIV>
<DIV>value = 100<BR>if value &gt; 10:<BR>&nbsp;&nbsp;&nbsp; print 'This is 
OK'<BR>elif value &gt; 50:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #This is where I get 
that msg (IndentationError)<BR>&nbsp;&nbsp;&nbsp; print "Whoops, this is never 
seen'<BR>else<BR>&nbsp;&nbsp;&nbsp; print ' nor is this'</DIV>
<DIV>&nbsp;</DIV>
<DIV>______________________________________________________________________________</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; I CAN simply us the If format and all works it is just a little 
confusing!<BR>&nbsp;&nbsp; Could it be that I have mesed with my default sttings 
on Indentation? Or am I just to thick to see the obvious?&nbsp; any help ?&nbsp; 
Thanks&nbsp; Steve Hulett</FONT></STRONG></DIV></BODY></HTML>