TypeError Traceback (most recent call last)
Cell In[1], line 33
31 个税 = 0
32 for limit, rate in 个税税率表.items():
—> 33 if 应纳税所得额 > limit:
34 个税 += (limit - (个税税率表.get(limit - 1, 0) if limit > 0 else 0)) * rate
35 else:
TypeError: ‘>’ not supported between instances of ‘float’ and ‘str’