#NEWLINE# def dynkin_diagram( self ) : #NEWLINE# #INDENT# n = self . n #NEWLINE# diag = ( '---' . join ( ( '0' for i in range ( 1 , ( n + 1 ) ) ) ) + '\n' ) #NEWLINE# diag += '   ' . join ( ( str ( i ) for i in range ( 1 , ( n + 1 ) ) ) ) #NEWLINE# return diag