def verify_item(self, item_name, merchant):
        item_n_price = merchant.ai_packs['merchant'].get_item(item_name)
        if not item_n_price:
            raise SaleFail((merchant.name, item_name) % '%s isn\'t selling any %s.')
        if self.pc.currency < item_n_price[1]:
            self.world.log.debug('pc: %s,%s item: %s,%s' % (str(self.pc.currency),
                                                            str(type(self.pc.currency)),
                                                            str(item_n_price[1]),
                                                            str(type(item_n_price[1]))))
            raise SaleFail('%s costs %s %s. You don\'t have enough %s.' %\
                           (item_n_price[0].name.capitalize(),
                            str(item_n_price[1]), CURRENCY, CURRENCY))
        # Make sure we create a new game item from the merchant's prototype
        item = item_n_price[0].load()
        return [item, item_n_price[1]]
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/commands/commands.py/Buy.verify_item/swapped operands of `%`