def slope(l):
    """ Return the slope of line 4-tuple. If vertical, return infinity float """
    if l[2] == l[0]:
        return float("inf")
    else:
        return (float(l[3])-float(l[1]))/(float(l[2])-float(l[0]))