Skip to content

Commit 0fde664

Browse files
author
boraxpr
committed
bux fix
1 parent 0f4251e commit 0fde664

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

180/names.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ def group_names_by_country(data: str = data) -> defaultdict:
3939
firstname = word
4040
counter=0
4141
continue
42-
return sorted(countries.items())
42+
sort = sorted(countries.items())
43+
countries = defaultdict(list, sort)
44+
return countries
4345

4446

4547

46-
47-
# print(group_names_by_country())
48+
print(group_names_by_country())

0 commit comments

Comments
 (0)