title: Name is not defined error
body: <p>I am well aware that this is a noob question but i cant seem to find the solution, i'm very new to programming but eager to learn. I'm going through the first google clases in python and this is the error i get.</p>
  
  <pre><code>def both_ends(s):
    print s[0:2], s[3:5]
    return
  
  x = input('...: ')
  both_ends(x)
  
  sergei@sergei-MS-7253:~/Desktop/p2$ python test2.py
  ...: haloj
  Traceback (most recent call last):
    File "test2.py", line 10, in &lt;module&gt;
      x = input('...: ')
    File "&lt;string&gt;", line 1, in &lt;module&gt;
  NameError: name 'haloj' is not defined
  </code></pre>
  
  <p>please explain what the problem is.</p>
  
  <p>Thank you</p>