Answer:
def remove_duplicates(duplicate_list):
new_list = []
for number in duplicate_list:
if number not in new_list:
new_list.append(number)
return new_list
Explanation:
- Initialize a new list to hold the values that are not duplicates
- Loop through duplicate_list, check if the number is not in the new_list, put that number in the new_list using append method
- At the end of the loop, return the new_list