TypeError Traceback (most recent call last)
Cell In[1], line 14
11 base_salary = 5900
13 # 计算个人每月缴费金额
—> 14 monthly_payment = sum([base_salary * rate for rate, rate_value in social_security_rates.items()])
16 monthly_payment
TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’