How can I find the credit card balance regarding my code? : <pre><code>def balance (p, apr, mo):
mpr = 0.01*apr/12
for month in range(int(mo)):
    p= p+p*mpr
    return p
</code></pre>

<p>I'm a beginner trying to create a function that will return the balance on a credit card starting balance p and interest rate apr after mo months. When I run my code, it seems like the loop will not work.</p>
