Python adding variable as value in a dict
<p>I'm a beginner in Python and have a problem. I can't add the value of a variable to a dictionary.</p>

<p>f.e</p>

<pre><code>name=input('Input the name: ')
dict['Name']=name   
</code></pre>

<p>and here's the error:</p>

<pre><code>TypeError: 'type' object does not support item assignment 
</code></pre>

<p>Could anyone help me?</p>
