First i will present what i\'m doing then what i want to achieve.
import numpy as np from scipy.spatial.distance import cdist def diff_len(string1, string2):