(f)
return f[i:]
Remove leading zeros from ``f`` in ``K[x]``.

    Examples
    ========

    >>> from sympy.polys.densebasic import dup_strip

    >>> dup_strip([0, 0, 1, 2, 3, 0])
    [1, 2, 3, 0]
Remove leading zeros from ``f`` in ``K[x]``.
Remove leading zeros from f in K [ x ] .
def dup_strip(f):
    """
    Remove leading zeros from ``f`` in ``K[x]``.

    Examples
    ========

    >>> from sympy.polys.densebasic import dup_strip

    >>> dup_strip([0, 0, 1, 2, 3, 0])
    [1, 2, 3, 0]

    """
    if not f or f[0]:
        return f

    i = 0

    for cf in f:
        if cf:
            break
        else:
            i += 1

    return f[i:]
def dup_strip ( f ) : if not f or f [ 0 ] : return f i = 0 for cf in f : if cf : break else : i += 1 return f [ i : ]