title: Python is_prime
body: <p>Assume the availability of a function <code>is_prime</code>. Assume a variable  n has been associated with positive integer. Write the statements needed to compute the sum of the first n prime numbers. The sum should be associated with the variable  total.</p>
  
  <p>Note: <code>is_prime</code> takes an integer as a parameter and returns True if and only if that integer is prime.</p>
  
  <p>So far I have:</p>
  
  <pre><code>i=2
  count=0
  total=0
  while (count&lt;n):
      if(is_prime(i)):
          total+=1
          count+=1
      i+=1
  </code></pre>
  
  <p>Where am I missing the problem.</p>