No we can't skip next line because if child_history has more than 1 attempts and if first attempt grader_type is "ML" then task_scores_normalized = True and in second attempt grader_type is not "ML" then task_scores_normalized = False and at the end of loop score will not updated because task_scores_normalized = False. That's why we can't skip this step.