diff --git a/programming files/remove_duplicates.py b/programming files/remove_duplicates.py index 47b3a73..eb34ea6 100644 --- a/programming files/remove_duplicates.py +++ b/programming files/remove_duplicates.py @@ -1,4 +1,5 @@ def remove_duplicates(arr): + # This is a comment arr.sort() unique_arr = [] removed_elements = [] @@ -14,4 +15,4 @@ def remove_duplicates(arr): unique_arr, removed_elements = remove_duplicates(arr) print("Original array:", arr) print("Unique array:", unique_arr) -print("Removed elements:", removed_elements) \ No newline at end of file +print("Removed elements:", removed_elements)