def find_direction(start, end):
    """
    Find direction from start to end
    """
    if start[0] == end[0]:
        if start[1] < end[1]:
            return 5
        else:
            return 1
    elif start[1] == end[1]:
        if start[0] < end[0]:
            return 3
        else:
            return 7
    elif start[0] < end[0]:
        if start[1] < end[1]:
            return 4
        else:
            return 2
    elif start[0] > end[0]:
        if start[1] < end[1]:
            return 6
        else:
            return 8
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/data/geometry.py/find_direction/original