def underline(self, text, indent=4):
        """Underline a given text"""
        length = len(text)
        indentation = (' ' * indent)
        return indentation + text + '\n' + indentation + ('-' * length)
def underline ( self , text , indent = 4 ) : length = len ( text ) indentation = ( ' ' * indent ) return indentation + text + '\n' + indentation + ( '-' * length )
Underline a given text