import math


def euclideanDistance(vector1, vector2):
	"""
	Calculate euclideanDistance of 2 vectors (in a list format)
	"""
	if vector1.shape != vector2.shape:
		raise ValueError('Two vector not in same length')

	length = len(vector1)
	distance = 0
	for x in range(length):
		distance += pow((vector1[x] - vector2[x]), 2)

	return math.sqrt(distance)