python 52周存錢

def main(): i=1 #第幾周 totalMouth=52 #一共多少周 everyMoney=10 #每週存入的金額 10元 addMoney =10 #每週遞增的金額 10元 totalMoey=0 #一共的錢數 while i<=totalMouth: totalMoey+=everyMoney; pr
相關文章
相關標籤/搜索