#PASO 1.
age = 28
sex = 0
bmi = 26.2
num_of_children = 3
smoker = 0
#PASO 2.
insurance_cost = 250 * age - 128 * sex + 370 * bmi + 425 * num_of_children + smoker - 12500
#PASO 3.
print("This person's insurance cost is " +
str(insurance_cost) + "dollars")
This person's insurance cost is 5469.0dollars
#PASO 4.
age += 4
#PASO 5.
new_insurance_cost = 250 * age - 128 * sex + 370 * bmi + 425 * num_of_children + 24000 * smoker - 12500
#PASO 6.
change_in_insurance_cost = new_insurance_cost - insurance_cost
#PASO 7.
print("The change in estimated insurance cost after increasing the age by 4 years is" + str(change_in_insurance_cost) + "dollars")
The change in estimated insurance cost after increasing the age by 4 years is1000.0dollars
#PASO 8.
age -= 4
bmi += 3.1
#PASO 9.
new_insurance_cost = 250 * age - 128 * sex + 370 * bmi + 425 * num_of_children + 24000 * smoker - 12500
change_in_insurance_cost = new_insurance_cost - insurance_cost
print("The change in estimated insurance cost after increasing BMI by 3.1 is" + str(change_in_insurance_cost) + "dollars")
The change in estimated insurance cost after increasing BMI by 3.1 is1147.0dollars
#PASO 10.
bmi -= 3.1
sex = 1
#PASO 11.
new_insurance_cost = 250 * age - 128 * sex + 370 * bmi + 425 * num_of_children + 24000 * smoker - 12500
change_in_insurance_cost = new_insurance_cost - insurance_cost
print("The change in estimated cost for beingg male instead if female is" + str(change_in_insurance_cost) + "dollars")
The change in estimated cost for beingg male instead if female is-128.0dollars
#FINAL.....
# Arturo Israel Lopez Molina.