[codebyte]

```
# Create calculate_insurance_cost() function below:
def calculate_insurance_cost(age, sex, bmi, num_of_children, smoker, name):
estimated_cost=250*age - 128*sex + 370*bmi + 425*num_of_children + 24000*smoker - 12500
return estimated_cost, print("The estimated insurance cost for " +name+" is "+ str(estimated_cost) + " dollars.")
def insurance_cost_difference(name1, name2):
difference = name1 - name2
return print("The difference in insurance cost is " + str(difference) + " dollars.")
# Estimate Maria's insurance cost
maria_insurance_cost = calculate_insurance_cost(28, 0, 26.2, 3, 0, "Maria")
# Estimate Omar's insurance cost
omar_insurance_cost = calculate_insurance_cost(35, 1, 22.2, 0, 1, "Omar")
insurance_cost_difference(maria_insurance_cost, omar_insurance_cost)
```

`[/codebyte]`

`Preformatted text`

The issue I am currently dealing with is my understanding of how to apply the inputs to the function. What my assumption was while programming was that the prior function could be applied, whether stored as a variable like this, ‘maria_insurance_cost’, or, ‘omar_insurance_cost’, but I was mistaken. Any and all help to assist me in how to further dissect the arguments that can be applied will be appreciated.