input: 
  from typing import List
  
  def removeDuplicates(array: List[str]) -> List[str]:
      """ Removes duplicates from a given list.
      >>> removeDuplicates(['a', 'b', 'a', 'c', 'b'])
      ['a', 'b', 'c']
      >>> removeDuplicates(['apple', 'banana', 'apple', 'cherry'])
      ['apple', 'banana', 'cherry']
      """
      finalArray = []
      for element in array: 
          if element not in finalArray: 
              finalArray.append(element)
      return finalArray
  
output:     finalArray = []
      for element in array: 
          if element not in finalArray: 
              finalArray.append(element)
      return finalArray