input: Write a function to optimize the given Python program to print all elements of a list in separate lines. The function should take a list of numbers as input and print each element on a new line. If the list is empty, it should print nothing.
  assert optimize_print_numbers([1, 2, 3, 4, 5, 6])==None
  assert optimize_print_numbers([])==None
output: def optimize_print_numbers(numbers):
      for num in numbers:
          print(num)