Python says that elif statement is a Syntax Error : <p>I am new to python, and I have just started to learn from a book that I have recently bought. 
I am at the if, elif and else chapter.
I have copied the code from the book, and I ran it.
Suddenly, it says about "elif", that is a Syntax Error.
Please help</p>

<pre class="lang-py prettyprint-override"><code>num = int(input('Please Enter A Number:'))
if num &gt; 5:
    print('Number Exceeds 5')
    elif num &lt; 5:
        print('Number is Less than 5')
        else:
            print('Number is 5')
</code></pre>
