def mid_point(x1, y1, x2, y2):
    """
    mid_point will find the mid point of a line segment when four coordinates are given.
    It will return the mid point as a tuple.

    :param x1: x-coordinate of left vertex
    :param y1: y-coordinate of left vertex
    :param x2: x-coordinate of right vertex
    :param y2: y-coordinate of right vertex
    :return: mid point of the line as tuple
    """
    # Find the midpoint of given x, y coordinates
    midpoint = ((x1 + x2) / 2, (y1 + y2) / 2)
    # Return mid point as tuple
    return midpoint