input: Write a function to optimize the given Python program that prints each element in a list on a new line. If the given list is empty, the function should print nothing.
  
  def optimize_print_list(numbers):
      if numbers:
          print(*numbers, sep='\n')
  
  assert optimize_print_list([1, 2, 3, 4, 5, 6])==None
  assert optimize_print_list([])==None
output: def optimize_print_list(numbers):
      if numbers:
          print(*numbers, sep='\n')