#NEWLINE# def multiplyAll( self ) : #NEWLINE# #INDENT# result = 1 #NEWLINE# for i in range ( len ( self . parts ) ) : #NEWLINE# #INDENT# count = self . parts [ i ] . count #NEWLINE# count = ( count if count else 1 ) #NEWLINE# result *= count #NEWLINE# #UNINDENT# return self