def hzip(x):
    """
    Zips the first and second half of `x`.

    If `x` has odd length, the last element will be ignored.

    >>> list(hzip([1, 2, 3, 4, 5, 6]))
    [(1, 4), (2, 5), (3, 6)]

    >>> list(hzip([1, 2, 3, 4, 5, 6, 7]))
    [(1, 4), (2, 5), (3, 6)]
    """

    N = int(len(x) // 2)
    return zip(x[:N], x[N:])