Answer:
Loop through each name
Loop through each obj in dict
If evaluated test score does not equal 1 name does not pass
if it does, add to array of passing names
return all passing names
Step-by-step explanation:
I'm sure you can get it from here. It helps to start with some "pseudocode" before you start coding else you'll beat your head against a wall for a couple hours and get no where. I say it in quotes because putting in the effort to make it look like pseudocode is pointless for something like this. You simply need to re-write the problem in english but in a way that can be broken into code easier.
Good luck