Build a Medical Data Validator - Step 20

Tell us what’s happening:

Hi everyone,
I’m stuck on Step 20 of the “Build a Medical Validator” challenge. My code won’t run, it keeps saying,
“You should restore the line ‘age’: 34,”
I’m not sure what exactly it wants me to do. Can anyone give me guidance on what I’m missing? Thanks!

Your code so far


# User Editable Region

medical_records = [
    {
        'patient_id': 'P1001',
        'age': 34,
        'gender': 'Female',
        'diagnosis': 'Hypertension',
        'medications': ['Lisinopril'],
        'last_visit_id': 'V2301',
    },
    
]









# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0

Challenge Information:

Build a Medical Data Validator - Step 20

Where are the rest of the records? I think you need to reset the step.

All you need to do is remove the comment symbol.

1 Like