def next(self):
        if self.paragraphs < len(self.text):
            late_start = len(self.text) % self.paragraphs - 1
            start = random.randint(0, late_start)
        else:
            start = 0
        text = '\n\n'.join(self.text[start:(start+self.paragraphs)])
        if self.max_length:
            return text[:self.max_length]
        return text
dataset/ETHPy150Open sbaechler/django-scaffolding/scaffolding/tubes.py/LoremIpsum.next/operator `-` -> `%`