def printc ( cls , txt , color = colors . red ) : print ( cls . color_txt ( txt , color ) )
how to print text with different color python
Print in color .
def printc(cls, txt, color=colors.red):
        """Print in color."""
        print(cls.color_txt(txt, color))