@step(u'I answer a "([^"]*)" problem "([^"]*)ly"')
def answer_problem_step(step, problem_type, correctness):
 input_problem_answer(step, problem_type, correctness)
 submit_problem(step)

@ step ( u'I answer a "([^"]*)" problem "([^"]*)ly"' ) def answer_problem_step ( step , problem_type , correctness ) : input_problem_answer ( step , problem_type , correctness ) submit_problem ( step )
mark a given problem type correct or incorrect .