code: def prt_goids(self, goids=None, prtfmt=None, sortby=True, prt=sys.stdout):
          
          if goids is None:
              goids = self.go_sources
          nts = self.get_nts(goids, sortby)
          if prtfmt is None:
              prtfmt = self.prt_attr['fmta']
          for ntgo in nts:
              key2val = ntgo._asdict()
              prt.write("{GO}\n".format(GO=prtfmt.format(**key2val)))
          return nts
docs: Given GO IDs, print decriptive info about each GO Term.