KeyError Traceback (most recent call last)
Cell In[1], line 35
33 taxable_income = monthly_income - personal_tax_threshold - social_insurance_total
34 tax_rate = next(rate for limit, rate in personal_tax_rates.items() if taxable_income <= limit)
—> 35 quick_deduction = personal_tax_quick_deduction[tax_rate]
36 personal_tax = taxable_income * tax_rate - quick_deduction
38 # 总扣税
KeyError: 0.03