Links

Search This Blog

April 19, 2019

Interest rate

def interest_rate(cost,percent,years):
  return cost * percent ** years

def interest_rate(cost, percent, years):
    rate = percent / 100
    return cost * (1 + rate) ** years

1 comment:

Anonymous said...

Ma nekužim ti ja to, ali radi nekako.

Post a Comment