Ciao everyone.

I’m doing the last extra practice, the exercise asks me to * Calculate the average insurance cost in `insurance_costs`

. You will have to remove the `$`

in order to calculate this."

I tried with this and in order to find the total and removing I used replace, but I get stuck here.

cost =

for n in insurance_costs:

cost.append(n.replace(’$’,’’))

total_cost = 0

for element in cost:

print(element)

for v in element:

total_cost += v

print(total_cost)

any helps or hints are appreciated

thanks everyone!