NameError Traceback (most recent call last)
Cell In[1], line 16
14 injury_insurance = base_salary * injury_insurance_rate
15 maternity_insurance = base_salary * maternity_insurance_rate
—> 16 endowment_insurance = base_salary * endowment_insurance
18 # 总扣费
19 total_deduction = medical_insurance + unemployment_insurance + injury_insurance + maternity_insurance + endowment_insurance
NameError: name ‘endowment_insurance’ is not defined