#NEWLINE# def display( self ) : #NEWLINE# #INDENT# colored = { #NEWLINE# #INDENT# ' ' : ' ' , #NEWLINE# 'x' : blue ( bold ( 'x' ) ) , #NEWLINE# 'o' : red ( bold ( 'o' ) ) , #NEWLINE# #UNINDENT# } #NEWLINE# s = ( ( '\n' + ( green ( '-' ) * ( ( len ( self . columns ) * 2 ) - 1 ) ) ) + '\n' ) . join ( [ green ( '|' ) . join ( ( colored [ mark ] for mark in row ) ) for row in self . _rows ] ) #NEWLINE# a = fsarray ( ( [ bold ( green ( ( 'enter a number, 0-8' if ( self . whose_turn == 'x' ) else 'wait for computer...' ) ) ) ] + s . split ( '\n' ) ) ) #NEWLINE# return a