TypeError Traceback (most recent call last)
Cell In[1], line 14
11 base_salary = 15700
13 # 计算个人缴费金额
—> 14 personal_payment = sum([base_salary * rate for rate, insurance in rates.items() if insurance != “生育保险”])
16 personal_payment
TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’