for i, coll1 in enumerate(college_list):
    for j in range(i + 1, len(college_list)):
        coll2 = college_list[j]
if len(coll2) - len(coll1) > 15:
    break
similarity = jaro(coll1, coll2)
if similarity >= 0.9 and similarity != 1.0:
    pass
Optimized way to find similar strings in a collection