<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def prt_gos(self, prt=sys.stdout, **kws_usr):
 """Sort user GO ids, grouped under broader GO terms or sections. Print to screen."""

        # deprecated
        # Keyword arguments (control content): hdrgo_prt section_prt use_sections
        # desc2nts contains: (sections hdrgo_prt sortobj) or (flat hdrgo_prt sortobj)
        desc2nts = self.get_desc2nts(**kws_usr)
        # Keyword arguments (control print format): prt prtfmt
        self.prt_nts(desc2nts, prt, kws_usr.get('prtfmt'))
        return desc2nts