(self)
Eliminate monomials with zero coefficient.
Eliminate monomials with zero coefficient.
Eliminate monomials with zero coefficient .
def strip_zero(self):
        """Eliminate monomials with zero coefficient. """
        for k, v in list(self.items()):
            if not v:
                del self[k]
def strip_zero ( self ) : for k , v in list ( self . items ( ) ) : if not v : del self [ k ]