KeyError Traceback (most recent call last)
Cell In[1], line 48
46 for i, threshold in enumerate(tax_thresholds):
47 if taxable_income > threshold:
—> 48 tax_rate = tax_brackets[threshold]
49 tax_deduction = tax_deductions[i]
50 break
KeyError: 0