distance

distance([x1, y1], [x2, y2])

distance([[x1, y1], [x2, y2]])

Try it yourself:

All functions