陳彥云輸入tkinter繪圖模組金融常識測驗APP
import tkinter #陳彥云import進口export出口 class Financial: 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() 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': LBc.config(bg="#a4abc1") if choice == List[temp].ans: LBc.config(bg='blue',fg='white') if choice == '4': LBd.config(bg="#a4abc1") if choice == List[temp].ans: LBd.config(bg='blue',fg='white') def update(): qtk.s...
期末考沒有控制鍵盤事件<與>https://16pyoyo.blogspot.com/2026/01/python.html
回覆刪除https://16pyoyo.blogspot.com/2025/12/python.html
https://16pyoyo.blogspot.com/2025/12/pythonglobalif.html
沒東西https://16pyoyo.blogspot.com/2025/12/javascript.html
1214沒有使用pre就會擠一起。https://16pyoyo.blogspot.com/2025/12/pythonglobalif_14.html
https://16pyoyo.blogspot.com/2025/12/javascriptvs-code.html
https://16pyoyo.blogspot.com/2025/11/611tryexcept.html
1116沒有控制鍵盤事件<Return>https://16pyoyo.blogspot.com/2025/11/pythontkinterreturn.html