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://giinasmile.blogspot.com/2024/04/pythonjavascriptbuttononchange.html
回覆刪除期中考,超級女神的演出。https://giinasmile.blogspot.com/2024/04/pythonjavascriptbuttononchange.html
刪除https://naiyuanzhang1226.blogspot.com/2024/04/pythonjavascriptbuttononchange.html
回覆刪除https://zxnhtml.blogspot.com/2024/04/emojionchange.html
回覆刪除期中考,換繪文字,很優秀。https://zxnhtml.blogspot.com/2024/04/emojionchange.html
刪除https://hank20050328.blogspot.com/2024/04/emojionchange.html
回覆刪除https://laiweikaiaaa.blogspot.com/2024/04/emojionchange.html
回覆刪除https://kuoyiting.blogspot.com/2024/04/blog-post.html
回覆刪除https://willie-lai611.blogspot.com/2024/04/pythonjavascriptbuttononchange.html
回覆刪除https://lukelu0928.blogspot.com/2024/04/emojionchange.html
回覆刪除https://e99136.blogspot.com/2024/04/emojionchang.html
回覆刪除https://su-you-an.blogspot.com/2024/04/emojionchange.html
回覆刪除https://0209tongting.blogspot.com/2024/04/emojionchange.html
回覆刪除https://shirong046.blogspot.com/2024/04/emojionchange.html
回覆刪除https://zhangxinzi.blogspot.com/2024/04/emojionchange.html
回覆刪除https://a0909922280.blogspot.com/2024/04/emojionchange.html
回覆刪除https://wenhuichenchen.blogspot.com/2024/04/emojionchange.html
回覆刪除https://shenzhenxuan.blogspot.com/2024/04/emojionchange.html
回覆刪除https://chan-wan-yi.blogspot.com/2024/04/emojionchange.html
回覆刪除https://stanley-ouo.blogspot.com/2024/04/emojionchenge.html
回覆刪除https://chienyinghuan.blogspot.com/2024/04/emojionchange.html
回覆刪除https://liu-guang-wei.blogspot.com/2024/04/emojionchage.html
回覆刪除https://sandy06252023.blogspot.com/2024/04/emojionchange.html
回覆刪除期中考,神人級的演出。https://sandy06252023.blogspot.com/2024/04/emojionchange.html
刪除https://wang-yu-jia-wangyujia.blogspot.com/2024/04/pythonemojionchage.html
回覆刪除https://wujiaqi1010.blogspot.com/2024/04/emojionchange.html
回覆刪除https://linziwei0308.blogspot.com/2024/04/emojionchange.html
回覆刪除https://caipeishan1223.blogspot.com/2024/04/emojionchange.html
回覆刪除https://yiingxxn.blogspot.com/2024/04/emojiselectonchange.html
回覆刪除https://zhen-zhen4869.blogspot.com/2024/04/emojionchange.html
回覆刪除作者已經移除這則留言。
回覆刪除https://zzl1102.blogspot.com/2024/04/emojionchange.html
回覆刪除https://liu0301.blogspot.com/2024/04/emojionchange.html
回覆刪除https://wnagenqiiiiiiiiiiii.blogspot.com/2024/04/emojilonchange.html
回覆刪除https://ymo0831.blogspot.com/2024/04/const-space-slash-backslash-crn.html
回覆刪除期中考截圖很糟糕https://ymo0831.blogspot.com/2024/04/const-space-slash-backslash-crn.html
刪除https://guan-yu-zhu.blogspot.com/2024/04/pythonjavascriptbuttononchange.html
回覆刪除期中考不能執行。https://guan-yu-zhu.blogspot.com/2024/04/pythonjavascriptbuttononchange.html
刪除https://czaudi1001.blogspot.com/2024/04/emolionchage.html
回覆刪除空白
刪除沒有期中考的部分。https://czaudi1001.blogspot.com/2024/04/python.html
刪除https://linxinzhuo.blogspot.com/2024/04/emojionchange.html
回覆刪除期中考有動手,就是優秀。你還要再練習使用vs code.https://linxinzhuo.blogspot.com/2024/04/emojionchange.html
刪除https://li1007.blogspot.com/2024/04/emojionchage.html
回覆刪除期中考,不給留言。https://li1007.blogspot.com/2024/04/emojionchage.html
刪除https://xu0625.blogspot.com/2024/04/emojionchange.html
回覆刪除期中考很優秀。https://xu0625.blogspot.com/2024/04/emojionchange.html
刪除https://wuhongbing.blogspot.com/2024/04/pythonjavascriptbuttononchange.html
回覆刪除期中考,你沒有開啟VS code操作。https://wuhongbing.blogspot.com/2024/04/pythonjavascriptbuttononchange.html
刪除https://fgjjfufutfytfyyfyuk.blogspot.com/2024/04/emojionchange.html
回覆刪除期中考自己做,很優秀。https://fgjjfufutfytfyyfyuk.blogspot.com/2024/04/emojionchange.html
刪除https://the-most-little-black.blogspot.com/?m=1
回覆刪除很優秀!執行自己的圖文字。https://the-most-little-black.blogspot.com/2024/04/emojionchange.html
刪除