<prompt> Ondoa duplicates zote kutoka orodha ya namba.1, 4, 9, 5, 1, 4, 9  <response>: One way to remove all duplicates from a list of numbers is to use the set data structure to keep only unique values. However, keep in mind that a set is an unordered collection and that you may end up missing the original order of the input. Here is sample code to implement this approach in Python:pythondef remove_duplicatesnumbers: list - list: return listsetnumbersinput_numbers 1, 4, 9, 5, 1, 4, 9result remove_duplicatesinput_numbersprintresultThe output would be: 1, 4, 5, 9To preserve the order of the list, you can iterate over the list and build a new output list that contains only the first occurrence of each number. Here is one way to implement this approach in Python:pythondef remove_duplicatesnumbers: list - list: output for number in numbers: if number not in output: output.appendnumber return outputinput_list 1, 4, 9, 5, 1, 4, 9result remove_duplicatesinput_listprintresultThe output would be: 1, 4, 9, 5 