Help with Replace Function

Hi, I’m having issues with the following exercise and the code. I don’t know when I apply the replace() function for $ to “” it doesn’t work. It keeps bringing me the float error.

Hi,
You’re error is coming up because you’re missing an s from total_insurance_cost inside your for-loop. The replace line looks ok to me.

hope that helps

1 Like