Skip to content

Commit 8311e37

Browse files
authored
Update names.py
1 parent b8a30c7 commit 8311e37

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

names/names.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
names_2 = f.read().split("\n") # List containing 10000 names
1111
f.close()
1212

13-
duplicates = []
13+
duplicates = [] # Return the list of duplicates in this data structure
14+
15+
# Replace the nested for loops below with your improvements
1416
for name_1 in names_1:
1517
for name_2 in names_2:
1618
if name_1 == name_2:

0 commit comments

Comments
 (0)