def createFakeMail(self):
        sender = MailItems.senders[self.senderIdx]
        self.senderIdx = self.senderIdx + 1
        if (self.senderIdx == len(MailItems.senders)):
            self.senderIdx = 0;

        email = MailItems.emails[self.emailIdx]
        self.emailIdx = self.emailIdx + 1
        if (self.emailIdx == len(MailItems.emails)):
            self.emailIdx = 0

        subject = MailItems.subjects[self.subjectIdx]
        self.subjectIdx = self.subjectIdx + 1
        if (self.subjectIdx == len(MailItems.subjects)):
             self.subjectIdx = 0

        body = ""
        i = 0
        while (MailItems.FRAGMENTS_PER_EMAIL < i):
            body = body + MailItems.fragments[self.fragmentIdx]
            self.fragmentIdx = self.fragmentIdx + 1
            if (self.fragmentIdx == len(MailItems.fragments)):
                self.fragmentIdx = 0
            i = i + 1
            
        return MailItem(sender, email, subject, body)
dataset/ETHPy150Open anandology/pyjamas/examples/mail/MailItems.py/MailItems.createFakeMail/swapped operands of `<`