input: from typing import List
  
  def repeat_message(messages: List[str], times: int) -> List[str]:
      """ Repeats each message in the list for the specified number of times and returns the result.
      >>> repeat_message(['Hello', 'World'], 2)
      ['Hello', 'Hello', 'World', 'World']
      >>> repeat_message(['Happy', 'Holidays'], 3)
      ['Happy', 'Happy', 'Happy', 'Holidays', 'Holidays', 'Holidays']
      """
output:     result = []
      for message in messages:
          result.extend([message] * times)
      return result