input: Write a function to format a two-dimensional array as a table. The function should find the longest string in each of the inner lists and use it to format the output. The formatted table should be printed in a justified manner. The function should be named printTable and take a two-dimensional array as input.
  
  def printTable(array):
      # find the longest string in each of the inner lists
      # so we can format the output
      col_width = [max(len(str(x)) for x in col) for col in array]
      for row in array:
          print("  ".join(str(x).ljust(col_width[i]) for i, x in enumerate(row)))
  
  assert printTable([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) == None
  assert printTable([[1, 12, 13], [14, 15, 5], [7, 18, 9]]) == None
  assert printTable([[1, 123, 13], [14, 15, 555], [7, 18, 9]]) == None
output: def printTable(array):
      col_width = [max(len(str(x)) for x in col) for col in array]
      for row in array:
          print("  ".join(str(x).ljust(col_width[i]) for i, x in enumerate(row)))