def maxelement(arr):
cords = []
no_of_rows = len(arr)
no_of_column = len(arr[0])
max1 = max(max(arr))
for i in range(no_of_rows):
for j in range(no_of_rows):
if arr[i][j] == max1:
cords.append([i,j])
print("The biggest distance is:", max1,", for sets:", cords)
array = [[0.0,0.4,0.66666667,0.85714286],[0.4,0.0,0.4,0.85714286],[0.66666667,0.4,0.0,1.0],[0.85714286,0.85714286, 1.,0.,]]
maxelement(array)