期末考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, ...
作者已經移除這則留言。
回覆刪除D11017218
回覆刪除https://d11017218.blogspot.com/2024/03/1.html
D11017157
回覆刪除https://takming12345.blogspot.com/2024/03/037excelmatchindex.html
D11017257
回覆刪除https://takming123.blogspot.com/2024/03/1.html
D11017140
回覆刪除https://d11017140.blogspot.com/2024/03/037excelmatchindex.html
d11036108
回覆刪除https://20020927.blogspot.com/2024/03/201720.html
D11017202 https://draft.blogger.com/blog/post/edit/preview/6174802439427569065/8613294704144930027
回覆刪除D11017237
回覆刪除https://gold-1-2zhang842.blogspot.com/2024/03/202441.html
D11017242
回覆刪除https://d11017242takming.blogspot.com/2024/03/excelmatchindex.html
D11017243
回覆刪除https://yan911222.blogspot.com/2024/03/d11017243.html?sc=1711944799821#c6244125072251629642
D11017239
回覆刪除https://zxcv0218.blogspot.com/2024/03/excelmatchindex.html
D11017108
回覆刪除https://jia-0909.blogspot.com/2024/04/excelmatchindex.html
D11017312
回覆刪除https://stephen-ky.blogspot.com/2024/04/2024415-d11017312.html
https://stephen-ky.blogspot.com/2024/04/037excelmatchindex.html
回覆刪除D11017311陳佑愷
回覆刪除https://danley1116.blogspot.com/2024/04/excelmatchindex.html