Ok, so I’m having a difficult time understanding what step #9 is trying to explain in the DS path, particularily dealing with “Python Syntax: Medical Insurance Project”
the question goes:
Now let’s find out how a change in BMI affects insurance costs. Our next steps are pretty much the same as we have done before when looking at
- Below the line where
bmiwas increased by
3.1, rewrite the insurance cost formula and assign it to the variable name
- Save the difference between
insurance_costin a variable called
- Display the following string in the output terminal, where
XXXis replaced by the value of
The change in estimated insurance cost after increasing BMI by 3.1 is XXX dollars.
You can leave the code above it as is, including the print statements.
So my confusion comes from why I would have to re-ad the insurance costs after already changing the BMI?
ive already calculated the BMI and now its asking to to ad those same variables again, even though (to my clearly untrained eyes) nothing has changed?