(self, other)
return self.equal_upto_scalar(other) and self.coeff == other.coeff
Return True if two monomials
        are equal upto a scalar multiple.
Return True if two monomials
        are equal upto a scalar multiple.
Return True if two monomials are equal upto a scalar multiple .
def __eq__(self, other) -> bool:
        """
        Return True if two monomials
        are equal upto a scalar multiple.
        """
        return self.equal_upto_scalar(other) and self.coeff == other.coeff
def __eq__ ( self , other ) -> bool : return self . equal_upto_scalar ( other ) and self . coeff == other . coeff