Error with python 'NameError: name '' is not defined' python 2.7.12
<p>Using python 2.7.12 im using a simple program:</p>

<pre><code>import time
print('Whats Your Name?')
name=input()
print('Happy Birthday to You')
time.sleep(1.5)
print('Happy Birthday to You')
time.sleep(1.8)
print('Happy Birthday Dear '+name)
time.sleep(2)
print('Happy Birthday to You')
time.sleep(1.5)
</code></pre>

<p>however when i try to input name i get this:</p>

<p>Whats Your Name?
Jeff</p>

<pre><code>Traceback (most recent call last):
  File "E:\Python\happybirthday.py", line 3, in &lt;module&gt;
    name=input()
  File "&lt;string&gt;", line 1, in &lt;module&gt;
NameError: name 'Jeff' is not defined
</code></pre>

<p>Why? This seems to happen on every program which requires an input.</p>