user
Create a function that takes a list of strings and returns a list without duplicates.


assistant
def remove_duplicates(strings):
  seen = set()
  result = []
  for string in strings:
    if string not in seen:
      seen.add(string)
      result.append(string)
  return result