Skip to content

Commit 506bf89

Browse files
Update 2_intermediate/chapter11/solutions/remove_duplicates.py
Co-authored-by: abhatia1205 <32373316+abhatia1205@users.noreply.github.com>
1 parent ff38d52 commit 506bf89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

2_intermediate/chapter11/solutions/remove_duplicates.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# The function should look through a list,
44
# Find all duplicate elements, and remove them
55
# Sort the resulting list
6+
# YOU MAY NOT USE THE set() function IN PYTHON. Use this problem to practice list iteration!
67
# Hint: To sort a list, use sorted(list)
78
# Another hint: Use list.count(element)
89
# To count the number of times that element appears

0 commit comments

Comments
 (0)