2
<PRE STYLE='BORDER:3PX RED SOLID'> import tkinter #輸入tkinter繪圖模組 #財金程式設計602 class Financial: #類別用於建構504道金融常識題目 def __init__(self, number, q, a, b, c, d, ans): self.number, self.q, self.ans = number, q, ans self.a, self.b, self.c, self.d = a, b, c, d def check(choice): choice = reply.get() #以字串存'1'...'4' temp = number.get() - 1 #題號 if choice == '1': LBa.config(bg="#a4abc1") if choice == List[temp].ans: LBa.config(bg='blue',fg='white') if choice == '2': LBb.config(bg="#a4abc1") if choice == List[temp].ans: LBb.config(bg='blue',fg='white') if choice == '3': ...

期末考pre是給程式碼不是給截圖https://lyon416.blogspot.com/2026/01/python.html
回覆刪除sin cos但沒有curly brackets最後一次上課的內容。https://lyon416.blogspot.com/2025/12/1222.html