Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

distance between point python

import math
def distance(point1, point2):
		return round(math.sqrt((point1[0] - point2[0])**2 + (point1[1] - point2[1])**2), 2)
 
PREVIOUS NEXT
Tagged: #distance #point #python
ADD COMMENT
Topic
Name
2+2 =