'Answer numerical problem.'

def answer_problem(self, correctness):

    textvalue = ''
    if (correctness == 'correct'):
        textvalue = 'pi    +    1'
    elif (correctness == 'error'):
        textvalue = 'notNum'
    else:
        textvalue = str(random.randint((-2), 2))
    self.problem_page.fill_answer(textvalue)
