def tax(obj):
    return ("{} {:.2f}%".format(obj.sales_tax_name, obj.sales_tax_percent)
            if obj.sales_tax_percent > 0 else '')
dataset/ETHPy150Open PressLabs/silver/silver/admin.py/tax/original