input: Write a function to remove all the whitespaces from each string in a given list of strings. Return the modified list of strings without any whitespace.
  def remove_whitespace(word_list):
      return [word.replace(" ", "") for word in word_list]
  
  assert remove_whitespace(['Hello  World  ', 'Hi  there', 'Good  Morning']) == ['HelloWorld', 'Hithere', 'GoodMorning']
  assert remove_whitespace(['  ', 'a ', ' b']) == ['', 'a', 'b']
  assert remove_whitespace([]) == []
output: def remove_whitespace(word_list):
      return [word.replace(" ", "") for word in word_list]