i need to edit code for my needs, but unluckily i don't have a choice to rewrite from zero, so i must understand what is this, because deadline is in 11 hours. halp a junior find his job
if text and segment:
if "Office" in segment:
if True in list(map(lambda x: x in text, _classes[_classB][0])):
return "????? ?"
if "Warehouse" in segment:
if True in list(map(lambda x: x in text, _classes[_classB][0])) or \
True in list(map(lambda x: x in text …Run Code Online (Sandbox Code Playgroud)