input: Write a function to remove all whitespaces from each string in a given list of strings. Return a new list containing the stripped strings. If the input list is empty, return an empty list.
  
  def remove_whitespace(word_list):
      if not word_list:
          return []
      return [word.strip() for word in word_list]
  
  assert remove_whitespace(['Hello  World  ', 'Hi  there', 'Good  Morning']) == ['HelloWorld', 'Hithere', 'GoodMorning']
  assert remove_whitespace([]) == []
  assert remove_whitespace(['NoSpacesHere']) == ['NoSpacesHere']
  assert remove_whitespace(['  LeadingSpaces', 'TrailingSpaces   ']) == ['LeadingSpaces', 'TrailingSpaces']
output: def remove_whitespace(word_list):
      if not word_list:
          return []
      return [''.join(word.split()) for word in word_list]