def roots(self):
        """
        Returns the total number of roots for D_n"
        """

        n = self.n
        return 2*n*(1-n)
dataset/ETHPy150Open sympy/sympy/sympy/liealgebras/type_d.py/TypeD.roots/swapped operands of `-`