input: 
  def removeDuplicates(arr: List[str]) -> List[str]:
      """
      Remove all duplicates from the given list of strings and return the resulting array.
  
      >>> removeDuplicates(['a', 'b', 'a', 'c', 'c', 'd'])
      ['a', 'b', 'c', 'd']
      """
      result = []
      for i in arr:
          if i not in result:
              result.append(i)
      return result
  
output:     result = []
      for i in arr:
          if i not in result:
              result.append(i)
      return result