am getting a typeerror while executing python program
<p>I have typed </p>

<pre><code>x = input("enter name: ")
Print ("hey") + x
</code></pre>

<p>But when compiled am getting</p>

<pre><code>Typeerror: unsupported operand type(s) for +: 'nonetype' and 'str'
</code></pre>

<p>I'm using python 3.6.0b1.</p>

<p>You are trying to add to the return value of <code>print</code> (which is <code>None</code>) to a string. Setting parentheses correctly is important.</p>

<pre><code>x = input("enter name: ")
print("hey" + x)
</code></pre>

python typeerror