title: How to divide the difference of the elements of one list by the elements of another list?
body: <p>I wanted to divide the difference of elements in </p>
  
  <pre><code>A = [1,2,3,4]
  </code></pre>
  
  <p>by</p>
  
  <pre><code>B = [6,7,9].
  </code></pre>
  
  <p>I did:</p>
  
  <pre><code>for i in range(len(A)):
            A[i+1]-A[i]/B[i]
  </code></pre>
  
  <p>But, that is giving me an error that says: "IndexError: list index out of range"</p>