input: Write a function to remove all duplicates from an array of strings and return the resulting array.
  assert removeDuplicates(['a', 'b', 'a', 'c', 'c', 'd'])==['a', 'b', 'c', 'd']
output: def removeDuplicates(arr):
      return list(dict.fromkeys(arr))