Using the definition
class Point:
"""attributes: x, y"""
write a function
dist(p, q)
that returns the Euclidean distance between two points and . For example, the distance between the point and the point is 50.
The input consists of several pairs of points (two non-negative integer numbers each).
For each two points, print their Euclidean distance.
Input
0 0 30 40 30 40 0 0 10 20 30 40 30 40 10 20
Output
50.0 50.0 28.284271247461902 28.284271247461902