#NEWLINE# def getPointValueOfSide( self , side ) : #NEWLINE# #INDENT# points = 0 #NEWLINE# for piece in side . pieces : #NEWLINE# #INDENT# if ( piece . side == side ) : #NEWLINE# #INDENT# points += piece . value #NEWLINE# #UNINDENT# #UNINDENT# return points