def check_answer(self, user_answer):
    'Check the user answer against the correct answer and maintain the score'
    correct_answer = self.current_question.correct_answer
    if (user_answer.lower() == correct_answer.lower()):
        self.score += 1
        return True
    else:
        return False
Check the user answer against the correct answer and maintain the score
def check_answer(self, user_answer):
    
    correct_answer = self.current_question.correct_answer
    if (user_answer.lower() == correct_answer.lower()):
        self.score += 1
        return True
    else:
        return False