title: Why does Python return EOFError?
body: <p><strong>What I am to do:</strong> Write a while loop that prints <code>user_num</code> divided by 2 until <code>user_num</code> is less than 1.</p>
  
  <p><strong>My code:</strong> </p>
  
  <pre><code>user_num = 20
  
  while(user_num &gt;= 1):
      print(user_num / 2)
      user_num = float(input())
  </code></pre>
  
  <p><strong>Error:</strong> </p>
  
  <blockquote>
    <p>10.0 Traceback (most recent call last):   File "main.py", line 5, in 
        user_num = float(input()) EOFError: EOF when reading a line</p>
  </blockquote>