retirement.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:MITx-6.00.1x-Introduction-to-Computer-Science-and-Programming-Using-Python 作者: tiagomestreteixeira 项目源码 文件源码
def displayRetirementWithRates(monthly, rates, terms):
    plt.figure('retireRate')
    plt.clf()
    for rate in rates:
        xvals, yvals = retire(monthly, rate, terms)
        plt.plot(xvals, yvals,
                 label='retire:' + str(monthly) + ':' + str(int(rate * 100)))
        plt.legend(loc='upper left')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号