Python的基礎2

while循環python benqian = 100000 year = 0 while benqian < 200000: benqian = benqian * (1+0.067) year += 1 # year = year + 1 print("第 {0} 年拿了 {1} 塊錢".format(year, benqian)) else: print("大
相關文章
相關標籤/搜索