期末考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, ...
D11017153 王芷榆
回覆刪除https://wangjhihyu0207.blogspot.com/2024/06/blog-post.html
D11017237 張博宇 https://gold-1-2zhang842.blogspot.com/2024/06/6-16-2024.html
回覆刪除D11017108李嘉芊
回覆刪除https://jia-0909.blogspot.com/2024/06/blog-post.html
D11017121江舜廷
回覆刪除https://ting1008finan.blogspot.com/2024/06/blog-post.html
D11050131鄭智元
回覆刪除https://ryu2022.blogspot.com/2024/06/blog-post.html
d11017353謝貴子
回覆刪除https://d11017353.blogspot.com/2024/06/blog-post.html
D11017125江宥蓉
回覆刪除https://takingfinance.blogspot.com/2024/06/blog-post.html
D11017202吳睿捷https://draft.blogger.com/blog/post/edit/preview/6174802439427569065/6437264383436573002
回覆刪除D11017311陳佑愷
回覆刪除https://danley1116.blogspot.com/2024/06/blog-post.html
D11017157 陳名君
回覆刪除https://takming12345.blogspot.com/2024/06/blog-post.html
D11017257蔡欣辰
回覆刪除https://takming123.blogspot.com/2024/06/blog-post.html
D11017218李美靚
回覆刪除https://d11017218.blogspot.com/2024/06/blog-post.html
D11017352 張弘陽
回覆刪除https://35607161.blogspot.com/2024/06/blog-post.html