title: Getting a name error when trying to input a string
body: <pre><code>import pickle
  import os
  import time
  
  class Person():
      def __init__(self, number, address):
          self.number = number
          self.address = address
  
  
  def save():
      with open('mydict.pickle', 'wb') as f:
          pickle.dump(mydict, f)        
  
  mydict = {}
  mydict['Avi'] = ['347-000-0000', 'Oceanview']
  mydict['Alan'] = ['347-000-0000', 'Brighton']
  mydict['Frank'] = ['718-000-0000', 'Brighton']
  
  print('add a name to the database.')
  name = input('Name:')
  number = input('Digits:')
  address = input('Address:')
  mydict[name] = [number, address]
  
  -------------------------------------------------------
  </code></pre>
  
  <p>ERROR: 
  If I try to add a name to the database I get a nameerror. NameError: name 'alan' is not defined. What's weird is that strings won't work but numbers will. Sorry if my question is unclear.</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Python33/ss", line 21, in &lt;module&gt;
      name = input('Name:')
    File "&lt;string&gt;", line 1, in &lt;module&gt;
  NameError: name 'alan' is not defined
  &gt;&gt;&gt; 
  </code></pre>