def has_more_questions(self):
    'To check if the quiz has more questions'
    return (self.question_no < len(self.questions))
To check if the quiz has more questions
def has_more_questions(self):
    
    return (self.question_no < len(self.questions))