None
"""Compound Interest""" max_month = 20 * 12; curr_month = 0; money = 58390; saving = 0; rate = 0.05 / 12; while (curr_month < max_month): curr_month += 1; saving = saving * (1 + rate); saving += money; print(saving);
沒有留言:
張貼留言