NameError Traceback (most recent call last)
Cell In[1], line 18
11 housing_fund_rate = 0.05 # 公积金
13 # 计算个人扣费总额
14 total_personal_deduction = (
15 base_salary * pension_rate +
16 base_salary * medical_rate +
17 base_salary * unemployment_rate +
—> 18 base_salary * housing_fonderate
19 )
21 total_personal_deduction
NameError: name ‘housing_fonderate’ is not defined