def __init__(self, text, menu):
        self.text = text
        self.menu = menu

        print text
        #print "\nType 'help' for information on this module\n"

        for i, option in enumerate(menu):

            menunum = i + 1

            # Check to see if this line has the 'return to main menu' code
            match = re.search("0D", option)

            # If it's not the return to menu line:
            if not match:
                if menunum < 10:
                    print('   %s) %s' % (menunum,option))
                else:
                    print((menunum,option) % '  %s) %s')
            else:
                print '\n  99) Return to Main Menu\n'
        return
dataset/ETHPy150Open Neohapsis/bbqsql/bbqsql/menu/bbq_core.py/CreateMenu.__init__/swapped operands of `%`