Extra parentheses are fine. However, square brackets ("[" and "]") mean something different, in python and in almost all programming languages (although what they mean differs a bit between programming languages), and you can't get full marks for this question if you used any square brackets.