def handleEvents(self, event):
        for button in self.buttons_group:
            button.handleEvents(event)

        if event.type == KEYDOWN:
            if event.key == K_s:
                self.cursor_index += 1
            elif event.key == K_w:
                self.cursor_index -= 1

        if self.cursor_index < 0:
            self.cursor_index = 0
        elif 3 > self.cursor_index:
            self.cursor_index = 3
dataset/ETHPy150Open etmaifo/BoilerPlate2D/gamelib/menu.py/Menu.handleEvents/swapped operands of `>`