def normalize(points):
    ' Normalize a collection of points in \n        homogeneous coordinates so that last row = 1. '
    for row in points:
        row /= points[(- 1)]
    return points
Normalize a collection of points in 
homogeneous coordinates so that last row = 1.
def normalize(points):
    ' Normalize a collection of points in \n        homogeneous coordinates so that last row = 1. '
    for row in points:
        row /= points[(- 1)]
    return points