這個網誌中的熱門文章
劉任昌python繪製三角函數與powerpoint製作影片
python程式碼 from tkinter import * #或者import tkinter as tk import math tk = Tk() #建構視窗名為tk tk.geometry('1200x400')#視窗 寬1200像素 tk.title("劉任昌python tkinter三角函數") canvas = Canvas(tk, width=1200, height=400, bg='black') canvas.grid(row=0,column=0,padx=5,pady=5,columnspan=3) delay=10 # milliseconds, 1/1000秒 x1,y1,z1=0,200,10#python特徵,多變數=對等值 h=190 #上下範圍,相當於數學1到-1 L1=canvas.create_line(0,200,1200,200,fill='white',width=5) def LH(): global x1, y1, z1#global全球,local當地 x2 = x1 + 1 #換到下個+1 y2=200 - h*math.sin(0.02*x2) z2=200 - h*math.cos(0.02*x2) L1=canvas.create_line(x1,y1,x2,y2,fill='pink',width=10) L2=canvas.create_line(x1,z1,x2,z2,fill='green',width=10) if (x2
柯聞折Javascript物件導向方法是物件的函數
物件導向設計OOP=Object-Oriented Programming 主詞subject受詞object東方的oriental id=identity,身分證id card, division區塊,段落 .方法get()是取得對應的值,功能同字典 dict.get(s1.code)從dict字典取得索引為s1.code的值 劉任昌以上的程式碼 <H1>物件導向設計OOP=Object-Oriented Programming</H1> 主詞subject受詞object東方的oriental <P id="cat"></P> <P id="dog"></P> <P>id=identity,身分證id card, division區塊,段落</P> <script>//Javascript註解二斜線//Python註解# dict =new Map([["2303","聯電"],["2330","台積電"],["2880","華南金"]]);//宣告配對(字典) class Stock{ //宣告類別 constructor(code, shares, price){//建構子constructor this.code = code; this.shares = shares; this.price = price;} } s1 = new Stock("2330", 100, 1000); //建構子Stock建構s1 s2 = new Stock("2880", 1000, 30); //建構子Stock建構s2 st = s1.code+' 股數 '+s1.shares.toString()+'<BR>'+s2.code.toString()+' 股數 '+s2.shares; document.getElementById('cat...
https://anson0501.blogspot.com/2025/05/blog-post.html
回覆刪除二影片
刪除https://yangbokai.blogspot.com/2025/05/javascript.html
回覆刪除https://huangchenyang.blogspot.com/2025/05/javascript.html
回覆刪除https://hsulining9999.blogspot.com/2025/05/javascript.html
回覆刪除https://yuxi1202.blogspot.com/2025/05/javascript.html
回覆刪除https://allyking097.blogspot.com/2025/05/javascript_13.html
回覆刪除https://zzy-hn.blogspot.com/2025/05/javascript.html
回覆刪除https://egdvcn-gh.blogspot.com/2025/05/javascript.html
回覆刪除https://lintingyang11317134.blogspot.com/2025/05/javascript.html
回覆刪除https://jjjjiaying.blogspot.com/2025/05/javascript.html
回覆刪除https://jiang233.blogspot.com/2025/05/javascript_21.html
回覆刪除https://xiyuying.blogspot.com/2025/05/javascript.html
回覆刪除https://xin00.blogspot.com/2025/05/javascript.html
回覆刪除https://ting950214.blogspot.com/2025/05/javascript.html
回覆刪除有一影片
刪除https://lupeiying.blogspot.com/2025/05/javascript.html
回覆刪除https://yuwun0221.blogspot.com/2025/05/javascript.html
回覆刪除https://yezonghan.blogspot.com/2025/05/javascript_17.html
回覆刪除https://djhdvdhd.blogspot.com/2025/05/blog-post_13.html
回覆刪除https://dbdodjdk.blogspot.com/2025/05/javascript.html
回覆刪除李育宏一影片二部落格
刪除https://guovupvmp.blogspot.com/2025/05/javascriptspyder-buttonbordergreen-5px.html
回覆刪除https://htmlsyuan.blogspot.com/2025/05/javascript.html
回覆刪除https://shanny11336108.blogspot.com/2025/05/javascript.html
回覆刪除https://spy0928.blogspot.com/2025/05/javascript.html
回覆刪除https://jiang-jia-ehen.blogspot.com/2025/05/javascript.html
回覆刪除https://leelittle25147.blogspot.com/2025/05/javascript.html
回覆刪除https://syx0304syx.blogspot.com/2025/05/buttonbordergreen-5px-solidborder.html
回覆刪除https://chenwewen.blogspot.com/2025/05/javascript.html
回覆刪除https://ahonggg0304.blogspot.com/2025/05/javascript.html
回覆刪除一影片三部落格
刪除https://xie-ni.blogspot.com/2025/05/javascript.html
回覆刪除https://chrishong9595.blogspot.com/2025/05/javascript.html
回覆刪除https://taiwanjouranlreview.blogspot.com/2025/06/20250623.html
刪除https://wihfaw.blogspot.com/2025/05/javascriptspyder-function-lh-var-c.html
回覆刪除https://laichia-jung.blogspot.com/2025/05/javascript.html
回覆刪除https://taiwanjouranlreview.blogspot.com/2025/06/20250623.html
刪除https://chang-yam-ci.blogspot.com/2025/05/buttonbordergreen-5px-solidborder.html
回覆刪除作者已經移除這則留言。
回覆刪除https://chan0528.blogspot.com/2025/06/javascript.html
回覆刪除