input: Write a function to format a two-dimensional array as a table. The function should align each column to the right, ensuring all elements in a column are of uniform width. If the input array is empty, the function should print an empty line.
  
  def printTable(array):
      if not array:
          print("")
          return
      col_widths = [max(len(str(x)) for x in col) for col in zip(*array)]
      for row in array:
          formatted_row = [str(x).rjust(col_widths[i]) for i, x in enumerate(row)]
          print("  ".join(formatted_row))
  
  assert printTable([[1, 2, 3], [4, 5, 6], [7, 8, 9]])==None
  assert printTable([[10, 100, 1000], [40, 50, 60], [700, 80, 9]])==None
  assert printTable([])==None
  assert printTable([[1, 10, 100], [2, 22, 222], [3, 333, 33333]])==None
output: def printTable(array):
      if not array:
          print("")
          return
      col_widths = [max(len(str(x)) for x in col) for col in zip(*array)]
      for row in array:
          formatted_row = [str(x).rjust(col_widths[i]) for i, x in enumerate(row)]
          print("  ".join(formatted_row))