期末考60分部分一定要給老師看 關鍵程式碼 def draw():#按下按鈕button1執行draw canvas.create_line(0,500,700,500,width=3,fill='black',arrow='last') canvas.create_line(10,600,10,5,width=3,fill='black',arrow='last') for firm in firms: t=(firm, year.get()) x = 10+20*stdev[t]*2*3**0.5 #放大20 y = 500 - 10*mean[t]*12 #放大10 dot=canvas.create_oval(x-5,y-5,x+5,y+5,fill='blue') lab=canvas.create_text(x+10,y,text=firm[4:7],anchor=W,font=('微軟中黑體', 16)) def delete():#按下按鈕button2執行delete canvas.delete('all') years=[x for x in range(2007, 2025)] year=IntVar(tk) year.set(years[0]) label = Label(tk, text="年度",font=('Arial',30,'bold'),).pack(side=LEFT) #距離左側 option1 = OptionMenu(tk, year, *years).pack(side=LEFT) button1 = Button(tk, text="賴青德繪圖 ",font=('Arial',30,'bold'), command = draw, bg='black',fg='white').pack(side=LEFT) button2 = Button(tk, ...
https://sususu0123.blogspot.com/2025/06/listdict.html
回覆刪除https://d11117312d.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://cynthiachen59.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://o3og413.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://takmingd11117329.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://chen-yu-hsi.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://d11117129.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://takmingd11117330.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://linpeiyud11117127.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://d11117220takminggh.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://qrqreere.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://erichtml-css-javascript-java.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://kuanhtml-css-javascript-java.blogspot.com/2025/06/listdictrandom.html
回覆刪除https://gary20010101.blogspot.com/2025/06/listdictrandom.html
回覆刪除