You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import math
|
|
|
|
p1 = [4, 0]
|
|
p2 = [6, 6]
|
|
distance = math.sqrt( ((p1[0]-p2[0])**2)+((p1[1]-p2[1])**2) )
|
|
|
|
print(distance) |