def _to_space_separated_string(l):
    """
    Converts a container to a space-separated string.

    INPUT:

    - ``l`` -- anything iterable.

    OUTPUT:

    String.

    EXAMPLES::

        sage: import sage.geometry.polyhedron.misc as P
        sage: P._to_space_separated_string([2,3])
        '2 3'
    """
    s = '';
    for x in l:
        if len(s)>0: s += ' '
        s += repr(x)
    return s