#NEWLINE# def performAction( self , action ) : #NEWLINE# #INDENT# EpisodicTask . performAction ( self , action ) #NEWLINE# if ( not self . isFinished ( ) ) : #NEWLINE# #INDENT# EpisodicTask . performAction ( self , self . opponent . getAction ( ) )