input: Write a function to optimize the given Python program that prints each element of a list on a new line. The function should take in a list of numbers as input and return the optimized version of the code as a string.
  assert optimize_print([1, 2, 3, 4, 5, 6])=='print(*[1, 2, 3, 4, 5, 6], sep=\'\\n\')'
  assert optimize_print([10, 20, 30, 40])=='print(*[10, 20, 30, 40], sep=\'\\n\')'
  assert optimize_print([])=='print(*[], sep=\'\\n\')'
  assert optimize_print([1])=='print(*[1], sep=\'\\n\')'
  assert optimize_print([5, 3, 1])=='print(*[5, 3, 1], sep=\'\\n\')'
output: def optimize_print(numbers):
      return f"print(*{numbers}, sep='\\n')"