input: Write a function to remove all whitespaces from each string in a given list of strings.
  
  def remove_whitespace(word_list):
      return [word.strip() for word in word_list]
  
  assert remove_whitespace(['Hello  World  ', 'Hi  there', 'Good  Morning']) == ['HelloWorld', 'Hithere', 'GoodMorning']
  assert remove_whitespace(['  ', '  a  b  c  ', 'd  e  f  ']) == ['', 'abc', 'def']
  assert remove_whitespace([]) == []
  assert remove_whitespace(['singleword']) == ['singleword']
output: def remove_whitespace(word_list):
      return [''.join(word.split()) for word in word_list]