get ()和set()可以獲取和修改這個值) """ def printselection(): print(cities[var.get()]) # 打印獲取到的選項內容 root = Tk() root.title("選項 ...
確定! 回上一頁