1 2
2 7
3 4
12 5
6 8
(1,2) 2.23606797749979
(2,7) 7.280109889280518
(3,4) 5.0
(12,5) 13.0
(6,8) 10.0
def main():
filename = input("Enter the name of the data file: ")
myPoints = readPoints(filename)
for p in myPoints:
print( p, p.distance() )