input: Write a function to debug the given Python program which raises a SyntaxError. The function should return the corrected version of the program as a string.
  assert debug_syntax_error("def func(a, b); c = a + b return c")=="def func(a, b):\n  c = a + b\n  return c"
  assert debug_syntax_error("a = 4; b = 5 res = func(a, b) print(res)")=="a = 4\n b = 5\n res = func(a, b)\n print(res)"
  assert debug_syntax_error("def func(a, b):  c = a + b  return c")=="def func(a, b):\n  c = a + b\n  return c"
  assert debug_syntax_error("print('Hello, World!')")=="print('Hello, World!')"
  assert debug_syntax_error("")==""
output: def debug_syntax_error(code):
      import re
      code = re.sub(r';\s*', '\n', code)
      code = re.sub(r'([^\s]+)\s*=\s*([^\s]+)', r'\1 = \2', code)
      code = re.sub(r'([^\s]+)\s*:\s*([^\s]+)', r'\1: \2', code)
      code = re.sub(r'\n\s*', '\n ', code)
      return code