79507642

Date: 2025-03-13 21:17:07
Score: 0.5
Natty:
Report link

I would go with the basic way:
EDIT: fixed code formatting to return None outside of loop

for key, sets_list in d.items():
        for sets in sets_list:
            if target_number in sets:
                return key
return None
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eric Formo