input: Write a function to remove all the whitespaces from each string in a given list of strings. Return the modified list.
  
  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(['  Keep it up  ', '   You can do it   '])==['Keepitup', 'Youcandoit']
  assert remove_whitespace([''])==['']
  assert remove_whitespace([])==[]
output: def remove_whitespace(word_list):
      return [''.join(word.split()) for word in word_list]