questions = [question_data(i) for i in xrange(1, question_count + 1)]
points = sum(question['score'] for question in questions)
return {'questions': questions, 'points': points/2., 'total': question_count}
questions = [question_data(i) for i in xrange(1, question_count + 1)]
points = sum(question['score'] for question in questions)
return {'questions': questions, 'points': points/2., 'total': question_count}