KeyError Traceback (most recent call last)
Cell In[1], line 26
24 break
25 else:
—> 26 tax += (limit - (tax_rates.get(limit - 36000, 0) if limit > 36000 else 0)) * tax_rates[limit - 36000]
27 taxable_income -= limit - (tax_rates.get(limit - 36000, 0) if limit > 36000 else 0)
29 total_tax = tax + social_security_payment
KeyError: -36000