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.
for n in insurance_costs:
total_cost = 0
for element in cost:
for v in element:
total_cost += v
any helps or hints are appreciated