title: how to create a sparse matrix from lists of numbers
body: <p>I have three lists namely A , B , C 
  All these lists contain 97510 items . I need to create a sparse matrix like this </p>
  
  <pre><code>matrix[A[0]][B[0]] = C[0]
  </code></pre>
  
  <p>For example , </p>
  
  <pre><code>A=[1,2,3,4,5] 
  B=[7,8,9,10,11] 
  C=[14,15,16,17,18]
  </code></pre>
  
  <p>I need to create a sparse matrix with </p>
  
  <pre><code>matrix[1][7] = 14 #(which is C[1])
  matrix[2][8] = 15 #and so on .. 
  </code></pre>
  
  <p>I tried and python gives me an error saying that "Index values must be continuous"</p>
  
  <p>How do I do it ?</p>