hometask 1: delee print

This commit is contained in:
Hladu357 2025-04-12 17:50:02 +03:00
parent 9b381a5e96
commit 6099eebcec
1 changed files with 0 additions and 1 deletions

View File

@ -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)