TypeError Traceback (most recent call last)
Cell In[1], line 14
11 base_salary = 6400
13 # 计算个人每月需缴纳的社保金额
—> 14 monthly_payment = sum([base_salary * rate for rate, rate_name in social_security_rates.items() if rate_name != ‘工伤保险’ and rate_name != ‘生育保险’])
15 monthly_payment
TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’