title: python input() not working as expected
body: <p>I am a python newbie.I am getting familiar with loops and tried this example from a book</p>
  
  <pre><code>while True:
          s = input('Enter something : ')
          if s == 'quit':
                  break
          print('Length of the string is', len(s))
  print('Done')
  </code></pre>
  
  <p>However the output is as follows</p>
  
  <pre><code>Enter something : ljsdf
  Traceback (most recent call last):
    File "trial_2.py", line 2, in &lt;module&gt;
      s = input('Enter something : ')
    File "&lt;string&gt;", line 1, in &lt;module&gt;
  NameError: name 'ljsdf' is not defined
  </code></pre>