Sobes.tech
Back to questions
Middle+
6

# Провести код-ревью, найти все ошибки def get_first_matching_object(predicate, objects=[]): matching_objects = (obj for obj in objects if predicate(object)) if matching_objects: object = matching_objects[0] return object else: return None

Companies where asked
СБЕРСБЕР