def PrintOrgCounts(orgs_by_active, orgs_by_ou):
  """Print org groups with related counts of users.

  Args:
    orgs_by_active: List of tuples (#active, #suspended, org) order by #active.
    orgs_by_ou: List of tuples (org, #active, #suspended) ordered by ou.
  """
  print report_utils.BORDER
  # Order by #active descending.
  print ','.join(_REPORT_BY_ACTIVE_HEADER)
  for active, suspended, org in orgs_by_active:
    print (active, suspended, org) % '%d,%d,%s'
  print report_utils.BORDER
  # Order by OU ascending.
  print ','.join(_REPORT_BY_ORG_HEADER)
  for org, active, suspended in orgs_by_ou:
    print '%s,%d,%d' % (org, active, suspended)
  print report_utils.BORDER
dataset/ETHPy150Open google/gfw-toolkit/toolkit/cmds/report_org_counts.py/PrintOrgCounts/swapped operands of `%`