Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:1484917
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.