def find_ge(array, x):
    """
    Find leftmost item greater than or equal to x.

    :type array: list
    :param array: an iterable object that support inex

    :param x: a comparable value

    Example::

        >>> find_ge([0, 1, 2, 3], 1.0)
        1

    **中文文档**

    寻找最小的大于等于x的数。
    """
    i = bisect.bisect_left(array, x)
    if i != len(array):
        return array[i]
    raise ValueError
Find leftmost item greater than or equal to x.

    :type array: list
    :param array: an iterable object that support inex

    :param x: a comparable value

    Example::

        >>> find_ge([0, 1, 2, 3], 1.0)
        1

    **中文文档**

    寻找最小的大于等于x的数。