title: Building a list inside a list in python
body: <p>I have been trying to add some data in a python list. I am actually going to store the data as a list inside a list. Now, the data is not coming index-wise. </p>
  
  <p>To explain that lets say I have a list of lists 'a'. Now I have data for <code>a[2]</code> before <code>a[1]</code>. And both <code>a[1]</code> and <code>a[2]</code> are lists themselves. Now, obviously I can't assign anything to <code>a[2]</code> before assigning <code>a[1]</code>. And I don't know how much lists would be there. I mean, this is supposed to be dynamic.</p>
  
  <p>Any solution to this, so that I can successfully build the list?</p>