KeyError Traceback (most recent call last)
Cell In[1], line 48
45 break
47 # 最终应纳税额
—> 48 tax -= quick_deduction[max(quick_deduction.keys())] if taxable_income > max(quick_deduction.keys()) else quick_deduction[taxable_income]
50 tax
KeyError: 6360.0