public
Created

  • Download Gist
gistfile1.py
Python
1 2 3 4 5
>>> import math
>>> a = (1,1)
>>> b = (1,2)
>>> math.sqrt((b[0] - a[0])**2 + (b[1] - a[1]) ** 2)
1.0

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.