in the last question of the project, how do we convert the for loop to while loop?
total_cost = 0
for cost in actual_insurance_costs:
total_cost += cost
here is the for loop i think the question is referring to.
in the last question of the project, how do we convert the for loop to while loop?
total_cost = 0
for cost in actual_insurance_costs:
total_cost += cost
here is the for loop i think the question is referring to.
What is the link to the lesson?
What code have you written so far/how would you figure it out?