I am new to coding and I am stuck at Python Syntax: Medical Insurance Project. I will really appreciate your guidance.
I keep getting this error.
Traceback (most recent call last):
File “script.py”, line 17, in
insurance_cost = 250 * age - 128 * sex + 370 * bmi + 425 * num_of_children + 24000 * smoker - 12500
TypeError: unsupported operand type(s) for -: ‘str’ and ‘str’