yield a, mis
list1 = ['T', 'P', 'M', 'M', 'A', 'R', 'k', 'M', 'G', 'C']
list2 = ['T', 'P', 'M', 'M', 'A', 'R', 'k', 'S', 'G', 'C', 'N']
new_list1, new_list2 = zip(*create_matchs(list1, list2))
print(new_list1)
print(new_list2)
Matching two lists in python