According to the solution, this code should print all ten names, but for some reason I’m only getting the last one on the list. Can anyone help me figure out why? Thanks!
It’s difficult to see above, but I think you need to double check the indentation on your inner
for loop, or, this part:
medical_records_clean =  for record in medical_records: record_clean =  for item in record: record_clean.append(item.strip()) medical_records_clean.append(record_clean) print(medical_records_clean)