It might be that in reading the teachers comment, he parsed the parentheses as part of English grammar, not the mathematical notation. Similar to how, if the comment said to write coordinates as "x,y", I would not include the quotation marks in my answer.