TypeError Traceback (most recent call last)
Cell In[1], line 13
10 base_salary = 6400
12 # 计算个人扣款金额
—> 13 personal_deduction = sum([base_salary * rate for rate, name in rates.items()])
15 personal_deduction
TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’