input: Write a function to optimize the given Python program that prints each element of a list on a new line. The function should return the optimized code as a string. If the input list is empty, the function should return an empty string.
  assert optimize_print([1, 2, 3, 4, 5, 6])=="print(*numbers, sep='\\n')"
  assert optimize_print([])==""
output: def optimize_print(numbers):
      if not numbers:
          return ""
      return "print(*numbers, sep='\\n')"