A python program for finding the distance of line