def peek(iterable):
    """Returns an arbitrary element of ``iterable`` without removing it.

    This is most useful for peeking at an arbitrary element of a set::

        >>> peek({3, 2, 1})
        1
        >>> peek('hello')
        'h'

    """
    return next(iter(iterable))
