input: Write a python function to convert a text content into a valid Python program.
  assert parse_to_python("print('Hello World')") == 'import sys\nif __name__ == "__main__":\n\tsys.stdout.write("print("Hello World")")'
  assert parse_to_python("print('Python is fun')") == 'import sys\nif __name__ == "__main__":\n\tsys.stdout.write("print("Python is fun")")'
  assert parse_to_python("print('123')") == 'import sys\nif __name__ == "__main__":\n\tsys.stdout.write("print("123")")'
output: def parse_to_python(text):
      return f'import sys\nif __name__ == "__main__":\n\tsys.stdout.write("{text}")'