year = eval(input("贷款年限: ")) money = eval(input("贷款金额:")) monthrate = eval(input("贷款利率:")) monthmoney = (money*monthrate)/(1-1/(1+monthrate)**(year*12)) allmoney = monthmoney*12*year print("月供:", monthmoney) print(allmoney)
python 实现贷款计算
最新推荐文章于 2023-12-14 10:00:00 发布