Store the its subtree
if ( root . left ) : NEW_LINE INDENT result . append ( root . left ) ; NEW_LINE DEDENT if ( root . right ) : NEW_LINE INDENT result . append ( root . right ) ; NEW_LINE DEDENT return None ; NEW_LINE return root ; NEW_LINE