TypeError Traceback (most recent call last)
Cell In[1], line 16
14 monthly_payment = {}
15 for insurance in rates:
—> 16 if “单位” in rates[insurance]:
17 unit_payment = base_salary * rates[insurance][“单位”]
18 personal_payment = base_salary * rates[insurance][“个人”]
TypeError: argument of type ‘float’ is not iterable