from sprites import line_intersection line1 = ((50,0),(100,-100)) line2 = ((-30,-30),(30,30)) points = line_intersection(line1,line2) print(points)