TypeError Traceback (most recent call last)
Cell In[1], line 44
42 tax_payment = 0
43 for limit, rate in tax_rates.items():
—> 44 if annual_income <= limit:
45 tax_payment = annual_income * rate
46 break
TypeError: ‘<=’ not supported between instances of ‘float’ and ‘str’