def get_slope(point1, point2):
return (float(point2[<NUM_LIT:1>]) - point1[<NUM_LIT:1>]) / (float(point2[<NUM_LIT:0>]) - point1[<NUM_LIT:0>])<EOL>
Calculate the slope of the line connecting two points on a grid.

Args:
    point1: Tuple or list, the x and y coordinate of the first point.

    point2: Tuple or list, the x and y coordinate of the second point

Returns:
    the slope of a line connecting two points on a grid.