Fix syntaxerror in task2