KeyError Traceback (most recent call last)
Cell In[1], line 39
37 break
38 else:
—> 39 tax += (limit - (tax_rates[limit - 1] if limit - 1 in tax_rates else 0)) * tax_rates[limit - 1] - quick_deduction[limit - 1]
40 taxable_income -= limit
42 tax, social_insurance_payment
KeyError: -1