diff --git a/curriculum/challenges/english/blocks/workshop-medical-data-validator/68529fb26c581f13e901de3a.md b/curriculum/challenges/english/blocks/workshop-medical-data-validator/68529fb26c581f13e901de3a.md index 9f409aaf369..602161dfca3 100644 --- a/curriculum/challenges/english/blocks/workshop-medical-data-validator/68529fb26c581f13e901de3a.md +++ b/curriculum/challenges/english/blocks/workshop-medical-data-validator/68529fb26c581f13e901de3a.md @@ -7,7 +7,15 @@ dashedName: step-44 # --description-- -Right after the `invalid_records` variable, create a `for` loop to iterate over it. For each invalid record, print `Unexpected format ': ' at position .` (where ``, ``, and `` should be replaced by the current key, value and index). Then, set `is_invalid` to `True`. +Right after the `invalid_records` variable, create a `for` loop to iterate over it. For each invalid record, print `Unexpected format ': ' at position .`. Replace ``, ``, and `` with the current key, value, and index. + +Remember that `invalid_records` is a list of keys that refer to invalid records in the current `dictionary`. You will need to take the key from `invalid_records` and look up the value in `dictionary`. + +Position or `index` refers to the current dictionary in `medical_records`, defined by the outer `for` loop in the function. + +Review your code so far if you need to remind yourself of the loops and variables already created. + +Then, set `is_invalid` to `True`. Feel free to test the `validate` function with invalid data to see the validation messages.