Javascript在網頁就可以執行不需要開啟Spyder 劉任昌執行 以上程式碼 <STYLE>BUTTON{BORDER:GREEN 5PX SOLID;BORDER-RADIUS:30PX;}</STYLE> <h1>Javascript在網頁就可以執行不需要開啟Spyder</h1> <button onclick="LH()">劉任昌執行</button> <canvas height="400" id="my" style="background: black;" width="1200"></canvas> <script> function LH() { var c = document.getElementById("my"); var cty = c.getContext("2d"); var x = 0; var y = 200; var h = 100; cty.beginPath(); cty.lineWidth = 5; cty.moveTo(x,y); while (x < 1000){ x = x + 1; y = 200 - h * Math.sin(0.2*x); cty.lineTo(x, y); cty.strokeStyle = "yellow"; cty.stroke(); }; } </script>
嵌入影片 pmt = [0,0,0,0] #周偉玲程式設計586設定串列list pmt[0]=float(input('躉繳金額: '))#float函數轉化為實數(浮點數) 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) 心得 被使用最多的程式語言JAVASCRIPT因為利用瀏覽器BROWSER就可以執行,利用手機就可以撰寫與執行程式碼CODE。最流行、最容易學習的程式語言是PYTHON利用SPYDER執行,上網利用雲端的解譯COLAB
https://ypayupinan.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://danny0976790127.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://d11117315111.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://tzuchenchu.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://yangyami.blogspot.com/2025/06/def-pvrnmfrnmf-p-mr1-11rnf1rn-return-p.html
回覆刪除https://winnielee0311.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://huuiiiiman.blogspot.com/2025/06/javascriptpresentvaluepython.html
回覆刪除https://acdhdwstzws.blogspot.com/2025/06/def-pvrnmf-p-mr1-11rnf1rn-return-p.html#comments
回覆刪除https://zhang-1108.blogspot.com/2025/06/blog-post_09.html
回覆刪除https://yuweiiiiiiiiiiii.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://chuyuchi.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除跟著做,就可以產生信心與能力。
刪除https://zhuo-1005.blogspot.com/2025/06/def-pvrnmfrnmf-p-mr1-11rnf1rn-return-p.html
回覆刪除作者已經移除這則留言。
回覆刪除https://vovo8564513.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://ting11111.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://slu804387.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://pei940922.blogspot.com/2025/06/pythonexcel-pv-6-09-2025.html
回覆刪除https://sccabout.blogspot.com/2025/06/def-pvrnmfrnmf-p-mr1-11rnf1rn-return-p.html
回覆刪除https://ting100000.blogspot.com/2025/06/def-pvrnmfrnmf-p-mr1-11rnf1rn-return-p.html
回覆刪除https://huutingyu.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://mumeng-ru.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://pagestjing.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://chiuerya0515.blogspot.com/2025/06/python-tkinter-createlinetkinter.html
回覆刪除https://ktglgfk.blogspot.com/2025/06/def-pvrnmfrnmf-p-mr1-11rnf1rn-return-p.html
回覆刪除https://kiannc1201.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://xuan-ang.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://lin-yujing.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://yangyoyo0125.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除https://d11117242.blogspot.com/2025/06/pythonexcel-pv.html
回覆刪除