code: def print_info(info):
      
      format_str = "{:<%d} {:>%d}" % (
          max(map(len, info)),
          max(map(len, info.values())),
      )
      for name in sorted(info):
          print(format_str.format(name, info[name]))
docs: Print an information dict to stdout in order.