input: Write a function to modify the given Python program to print 'Happy Holidays' 10 times. If the input is a for loop that prints 'Hello World' 10 times, the output should be a for loop that prints 'Happy Holidays' 10 times.
  assert modify_program(\
  for i in range(10):
      print('Hello World')
  \ )==\
  for i in range(10):
      print('Happy Holidays')
  assert modify_program(\
  for i in range(10):
      print('Hola Mundo')
  \ )==\
  for i in range(10):
      print('Happy Holidays')
  assert modify_program(\
  for i in range(5):
      print('Hello World')
  \ )==\
  for i in range(5):
      print('Happy Holidays')
  assert modify_program(\
  print('Hello World')
  \ )==\
  print('Happy Holidays')
  assert modify_program(\
  \ )==\
  \
  function should only modify loops that print, otherwise return the input as is
output: def modify_program(program):
      import re
      pattern = re.compile(r'for\s+\w+\s+in\s+range\s*\(\s*\d+\s*\)\s*:\s*print\s*\(\s*[\'"].*[\'"]\s*\)')
      match = pattern.search(program)
      if match:
          return re.sub(r"print\s*\(\s*[\'\"].*[\'\"]\s*\)", "print('Happy Holidays')", match.group(0))
      return program