else if in Python 2.7
<p>The purpose of this code isn't important,but I'm getting an indentation error.  They are usually really obvious fixes, but in this case I don't see why the error comes up.</p>

<pre><code>group=0
for i in range(0,len(line)):
   for j in range(0,len(both)):
        if both[j]==line[i]:
        elif both[j]==line[i]-1:
                group+=1
</code></pre>
