無
*注意事項(xiàng):
1 s=input("請(qǐng)輸入年利率:")
2 rate=float(s[:-1])*0.01
3 money=100000
4 year=0
5 while money<=200000:
6 money=round( ),2)
7 year=year+1
8 print(year,"年后收益超過本金?!保?/p>
微信掃碼預(yù)覽、分享更方便
詳情