def distance(alist, blist):
    sum_of = 0
for x, y in zip(alist, blist):
    ans = (x - y) ** 2
sum_of += ans
return sum_of ** (1 / 2)
distance([1, 1, 3], [2, 2, 3])
Calculating Euclidean Distance With Given Lists