code: def output_to_terminal(sources):
      
      results = OrderedDict()
      for source in sources:
          if source.get_is_available():
              source.update()
              results.update(source.get_summary())
      for key, value in results.items():
          sys.stdout.write(str(key) + ": " + str(value) + ", ")
      sys.stdout.write("\n")
      sys.exit()
docs: Print statistics to the terminal