code: def remove_duplicates_from_list(array):
      "Preserves the order of elements in the list"
      output = []
      unique = set()
      for a in array:
          if a not in unique:
              unique.add(a)
              output.append(a)
      return outpuf remove_duplicates_from_list(array):
      "Preserves the order of elements in the list"
      output = []
      unique = set()
      for a in array:
          if a not in unique:
              unique.add(a)
              output.append(a)
      return output
docs: Preserves the order of elements in the list