[('"SELLER_ID": "['5187296']"', '"GT_SELLER_ID":"['18149']"', '"TOTAL_TAG_COUNT": "['476']"', '"total_product_count":"['486']"', '"tag_count_diff": "['-10']"')]
我想获得tag_count_diff/total_tag_count*100
的模数。
答案 0 :(得分:0)
模运算符id的“%”
tag_count_diff % (total_tag_count*100)