title: Python Dictionary - List Nesting
body: <p>I have a dictionary with a key and a pair of values, the values are stored in a List. But i'm keeping the list empty so i can .append its values ,i cant seem to be able to do this</p>
  
  <pre><code>&gt;&gt;&gt;myDict = {'Numbers':[]}
  &gt;&gt;&gt;myDict['Numbers'[1].append(user_inputs) 
  </code></pre>
  
  <p>doesn't seem to work, returns an error . How do i refer to the list in myDict so i can append its values.</p>
  
  <p>Also is it possible to have a dictionary inside a list and also have another list inside? if so? what is its syntax or can you recommend anyother way i can do this</p>
  
  <pre><code>&gt;&gt;&gt;myDict2 = {'Names': [{'first name':[],'Second name':[]}]}
  </code></pre>
  
  <p>do i change the second nested list to a tuple?? Please lets keep it to PYTHON 2.7</p>