(f)
return max(sum(m) for m in f.monoms())
Returns the total degree of ``f``.
Returns the total degree of ``f``.
Returns the total degree of f .
def total_degree(f):
        """Returns the total degree of ``f``. """
        return max(sum(m) for m in f.monoms())
def total_degree ( f ) : return max ( sum ( m ) for m in f . monoms ( ) )