unexpected EOF while parsing
<pre><code>while True:
    no=input()
    if no=='':
        break
    else:
        split_change(no)
</code></pre>

<p>This gives EOF error, how to check for EOF while getting input from std input ?</p>
