What happens if you comment out the offending lines and just print this?:
I would try to break up the code, comment out lines and use
print() to see what works and what doesn’t first…
You might want to double check how you’re appending this cost to the list here:
# Add your code here
medical_records = list(zip(insurance_costs, names))
Is that supposed to be a float or a string? What is that costs list?