Next / Previous / Contents / Shipman's homepage

63. WordBank.__len__(): How many total words?

kkck
# - - -   W o r d B a n k . _ _ l e n _ _

    def __len__ ( self ):
        '''Return the number of words of all lengths.
        '''
        return self.__nWords