嵌入周偉玲解說影片 嵌入WIKIPEDIA二分法 pmt = [0,0,0,0] #劉任昌程式設計586設定串列list pmt[0]=float(input('躉繳金額: ')) for nper in range(1,4): pmt[nper] = float(input('第'+str(nper)+'期回收: ')) def npv(rate): y = - pmt[0] for j in range(1,4): y = y + pmt[j]/(1+rate)**j return y a, b, gap, f = 0.0, 1.0, 9.0, 9.0 maxerror = 0.000001 loopNumber = 1 while (gap > maxerror and abs(f) > maxerror and loopNumber maxerror and gap > maxerror): if ( f>0 ): a = c else: b = c gap = b-a; print('報酬率: ', c) print('淨現值: ', f) print('迴圈次數: ', loopNumber)
https://tustning.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除成功執行附加append資料。
刪除https://oscarliu1688.blogspot.com/2024/03/python.html
回覆刪除https://ctz642895.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://htmlcssjavascriptjavapython.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://kk0725.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://www.blogger.com/blog/post/edit/2910868344786410340/7440072331214175057
回覆刪除https://yun0205.blogspot.com/2024/03/pythonmethods.html
回覆刪除https://ziyun040818.blogspot.com/2024/03/blog-post_11.html
回覆刪除https://5lujo6.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://keiime.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://hui026.blogspot.com/2024/03/pythonmethods.html
回覆刪除https://rrrrr-eeeee.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://whitexd.blogspot.com/2024/03/pythonfilesmethods.html
回覆刪除https://xi715.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://yuechen613.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除自己動手做,就會逐漸累積自己的知識與能力。
刪除https://kevin124574811.blogspot.com/2024/03/python.html
回覆刪除https://56788888.blogspot.com/2024/03/pythonbuilt-infunctionsstringmethodsloop.html
回覆刪除https://grace8166.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://addison030.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除