Use Python To Sum A Series
<p>So I have the code</p>

<pre><code>def formula(n):
    while(n &lt; 11):
        answera = 15/(-4)** n
        print(answera)
        n = n + 1

formula(1)
</code></pre>

<p>How can I add the outputs in condescending order?</p>

<p>For example, </p>

<pre><code>first_output = (the output of n = 1)

second_output = (the output of n = 1) + (the output of n = 2)

third_output =  (the output of n = 1) + (the output of n = 2) + (the output of n = 3)
</code></pre>

<p>and so on..</p>