def interest_rate(cost,percent,years): return cost * percent ** yearsdef interest_rate(cost, percent, years): rate = percent / 100 return cost * (1 + rate) ** years
No comments:
Post a Comment