Actually sir no extra code is written for these parentheses to be removed, I had written code to remove parentheses in case of " symbols('a(0:2)') " which is also working for " symbols(('a(a:z)z')) " and will work for all other cases too and due to it no parentheses will be displayed if anything is enclosed in ranges like (0:2) or (a:z) which is a plus point I think as parentheses just shows that it is not processed correctly. So there is not redundant code.