input: Write a function to print a jagged array with the given size. The function should internally initialize the jagged array with the specified size and populate each position with an empty list. Finally, it should print the jagged array. If the given size is empty or zero, the function should print an empty list.
  
  def print_jagged_array(array_size):
      # Initialize a jagged array with the given size
      array = [None] * array_size
      
      # Populate the array with empty arrays
      for i in range(array_size):
          array[i] = []
      
      # Print the output array
      print(array)
  
  assert print_jagged_array(4)==None
  assert print_jagged_array(0)==None
  assert print_jagged_array(2)==None
output: def print_jagged_array(array_size):
      if array_size == 0:
          print([])
      else:
          array = [[] for _ in range(array_size)]
          print(array)