import math


def _euclidean_distance(array1, array2):
    """Returns the euclidean distance of two arrays

    Parameters
    ----------
    array1 : array of numbers
        
    array2 : array of numbers

    Returns
    -------
    distance : float
        float with the euclidean distance, False if not possible
    """
    #Ensure that both arrays hava the same length
    if len(array1) != len(array2):
        return False
    else:
        distance = 0.0
        for i in range(0, len(array1)):
            distance = distance + pow(array1[i] - array2[i], 2)
        distance = math.sqrt(distance)
        return distance