import math def distance x_ y_ print float math sqrt x_-x y_-y def ent

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import math
def distance(x,y,x_,y_):
print float(math.sqrt((x_-x)**2+(y_-y)**2))
def enter(x,y):
x,y=raw_input('x='), raw_input('y=')
return int(x), int(y)
print 'Kor dot numb 1:'
x1=0; y1=0; x2=0; y2=0
x1, y1 = enter(x1,y1)
print 'Kor dot numb 2:'
x2, y2 = enter(x2,y2)
distance(x1,y1,x2,y2)
raw_input('Press any key to Exit')