original_docstring: Checks the answer against the current question
docstring: Checks the answer against the current question
docstring_tokens: Checks the answer against the current question
code: def checkanswer(self, event=None):
          '''Checks the answer against the current question'''
          if self.entry.get().lower() == self.answer.lower():
              if notifyWhenCorrect == 'True':
                  messagebox.showinfo(message='Correct!')
              self.entry.delete(0,END)
              self.randomquestion(self)
code_tokens: def checkanswer ( self , event = None ) : if self . entry . get ( ) . lower ( ) == self . answer . lower ( ) : if notifyWhenCorrect == 'True' : messagebox . showinfo ( message = 'Correct!' ) self . entry . delete ( 0 , END ) self . randomquestion ( self )
short_docstring: Checks the answer against the current question
short_docstring_tokens: Checks the answer against the current question
comment: '''Checks the answer against the current question'''