首页 > 解决方案 > 单击“下一步”按钮时,我的问题不会改变,但我的 Tkinter 测验应用程序中的选项会发生变化

问题描述

第一个问题

同样的问题,但有不同的选择

 def display_options(self,qn):
    val = 0
    self.opt_selected.set(0)
    self.ques = questions[qn] #I think this is where the issue is
        
    

    for option in options[qn]:
        self.opts[val]['text'] = option
        val+=1

标签: pythonuser-interfacetkinter

解决方案


推荐阅读