劉任昌對照Python與JavaScript指令
比較Python與JavaScript指令 for x in range(20): #x整數, str方法 a = "" #python用縮排取代{ }當作區段 for y in range(x): a += str(y) print("第" + str(x) +"列:" + a) # Java, C靜態變數,必須先宣告變數 # Python, JavaScript允許動態變數,可以不用先宣告 Javascript程式碼:不執行,看程式碼,必須在撰寫模式貼上 <h1>HTML與JavaScript</h1> <div id="show"></div> <script> var a = "劉任昌會Python與JavaScript<br>"; for (var x=0; x<10; x++) { /*JavaScript註解Python縮排分區段,{}*/ a +="第" + x +"列:" for (var y=0; y < x; y++) a += y; a += "<br>"; } document.getElementById("show").innerHTML = a; </script> HTML與JavaScript
https://rtytrdtfg.blogspot.com/2023/03/svgcanvas.html
回覆刪除https://cpc920508123.blogspot.com/2023/03/svgcanvas.html
回覆刪除https://liiuzhewei.blogspot.com/2023/03/svgcanvas.html
回覆刪除https://pandora-mo.blogspot.com/2023/03/sorry-your-browser-does-not-support.html
回覆刪除https://jasperyang.blogspot.com/2023/03/svgcanvas.html
回覆刪除https://d11150116.blogspot.com/2023/03/blog-post.html
回覆刪除https://trequiem.blogspot.com/2023/03/svgcanvas-w3schools-1.html
回覆刪除https://643gjeytfru4312.blogspot.com/2023/03/blog-post.html
回覆刪除https://tgyhjikolujik2554.blogspot.com/2023/03/blog-post.html
回覆刪除https://html-css-javascript-yaoto.blogspot.com/2023/03/sgv-canvas.html
回覆刪除https://jjjjjyyy.blogspot.com/2023/03/svgcanvas.html
回覆刪除作者已經移除這則留言。
回覆刪除https://cindy-javascript.blogspot.com/2023/03/svgcanvas.html
回覆刪除https://hhhaann.blogspot.com/2023/03/svgcanvas_12.html
回覆刪除https://jasperyang.blogspot.com/2023/03/svgcanvas_12.html
回覆刪除https://iuytjhg5261.blogspot.com/2023/03/svgcanvas.html
回覆刪除https://d11150112.blogspot.com/2023/03/svgcanvas.html
回覆刪除作者已經移除這則留言。
回覆刪除https://www.youtube.com/watch?v=fZrq11mhUkI
回覆刪除https://d11117235catian.blogspot.com/2023/03/svg.html
回覆刪除https://d11150115.blogspot.com/2023/03/svgcanvas.html
回覆刪除https://www.blogger.com/blog/post/edit/7946957304410713297/4172821753634102766
回覆刪除