title: Leibniz formula for Pi - Python
body: <p>I'm having trouble writing a function to compute an approximation for pi using the leibniz notation.</p>
  
  <p>Leibniz Formula:</p>
  
  <p><a href="http://en.wikipedia.org/wiki/Leibniz_formula_for_%CF%80#Inefficiency" rel="nofollow">http://en.wikipedia.org/wiki/Leibniz_formula_for_%CF%80#Inefficiency</a></p>
  
  <p>If someone could help point me in the right direction for doing this, it would be great</p>
  
  <p>thanks</p>