input: Write a function to optimize the given Python program by modifying the method of printing each number in the list. The function should take a list of numbers as input and print each number on a new line. If the input list is empty, the function should print nothing.
  assert optimize_print([1, 2, 3, 4, 5, 6])==None
  assert optimize_print([])==None
output: def optimize_print(numbers):
      for num in numbers:
          print(num)