def get_score(self):
    'Get the number of correct answers, wrong answers and score percentage.'
    wrong = (self.question_no - self.score)
    score_percent = int(((self.score / self.question_no) * 100))
    return (self.score, wrong, score_percent)
Get the number of correct answers, wrong answers and score percentage.
def get_score(self):
    
    wrong = (self.question_no - self.score)
    score_percent = int(((self.score / self.question_no) * 100))
    return (self.score, wrong, score_percent)