Syntax Error on elif statement in Python
<p>I was having a bit of trouble with this code that I wrote in Python 2.7.  It's giving me a syntax error on the elif statement, but there's no explanation and I can't find any reasonable error in the code.  (typeline is a method I defined.)</p>

<pre><code>num = randrange(-25,15)
""" Toxic """
if num &gt;= -25 and num &lt; -10:
        responses = ["Ugh, nasty.", "That was absolutely disgusting.", "My stomach feels like it's going to explode.", "Pardon me if I puke."]
        typeline(responses[randrange(0,4)], "jack")
        return [num, "Jack ate a VERY TOXIC FRUIT and survived.", "Jack ate a VERY TOXIC FRUIT and died."]
""" Mildly poisonous """
elif num &gt;= -10 and num &lt; 0: """ SYNTAX ERROR HERE """
        responses = ["Yuck", "It's kinda bitter.", "Tastes like an unripe banana.", "It's not so bad."]
        typeline(responses[randrange(0,4)], "jack")
        return [num, "Jack ate a MILDLY TOXIC FRUIT and survived.", "Jack ate a MILDLY TOXIC FRUIT and died."]
""" Healthy """
else:
        responses = ["Definitely not too bad", "It's almost kind of tasty!", "Should I make a jam out of this?", "This is my new favorite fruit."]
        typeline(responses[randrange(0,4)], "jack")
        return [num, "Jack ate a HEALTHY FRUIT and was rescued.", "Jack ate HEALTHY FRUIT and survived."]
</code></pre>

<p>The error:</p>

<pre><code>  File "&lt;stdin&gt;", line 9
    elif num &gt;= -10 and num &lt; 0:
       ^
SyntaxError: invalid syntax
</code></pre>