I’m obviously new and confused. I tried to look up the answer but couldn’t find one. I found another person with the exact same problem as me though. I am doing the Medical Insurance project and I am stuck because when I run my save function to run the program so far the output reads like this

This persons insurance cost is 250 * age - 128 * sex + 370 * bmi + 425 * num_of_children + 24000 * smoker - 12500 dollars.

Instead of calculating this ^ insurance cost formula and getting 5469.0 it just puts it into the output

I’ve tried as many things as I could think of but that clearly wasn’t enough so please help. I am really struggling, Ive taken notes and everything through the course so far and still I don’t know what I am doing wrong here. I wasn’t able to find an answer to the other persons topic who had the same problem either, but anyway here is my code.

# create the initial variables below

age = “28”

smoker = “0”

sex = “0”

bmi = “26.2”

num_of_children = “3”

# Add insurance estimate formula below

insurance_cost = “250 * age - 128 * sex + 370 * bmi + 425 * num_of_children + 24000 * smoker - 12500”

print(“This person’s insurance cost is " + str(insurance_cost) + " dollars.”)

my output is

This person’s insurance cost is 250 * age - 128 * sex + 370 * bmi + 425 * num_of_children + 24000 * smoker - 12500 dollars.

but should be

This person’s insurance cost is 5469.0 dollars.

If more info is needed here is a link to the other person’s topic who had the exact same problem

Thanks for any help or feedback.