hometask 1: delee print
This commit is contained in:
parent
9b381a5e96
commit
6099eebcec
|
@ -53,6 +53,5 @@ for (str1, str2) in combinations(names, 2):
|
|||
if similarity >= threshold:
|
||||
name_pairs.append((str1, str2, similarity))
|
||||
|
||||
print(name_pairs)
|
||||
with open('name_dupes.json', 'w') as f:
|
||||
json.dump(name_pairs, f, indent=4, sort_keys=True)
|
Loading…
Reference in New Issue