a = 'GCAUGC'
b = 'GCAACC'
differences = 0
for i in range(len(a)):
    if a[i] != b[i]:
        differences += 1
percentageDifference = 100 * float(difference) / len(a)
Calculate the greatest distance between any two strings in a group, using Python