P . y = 28 P ( 15 , 28 )
direction = directionOfPoint ( A , B , P ) NEW_LINE if ( direction == 1 ) : NEW_LINE INDENT print ( " Right ▁ Direction " ) NEW_LINE DEDENT elif ( direction == - 1 ) : NEW_LINE INDENT print ( " Left ▁ Direction " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " Point ▁ is ▁ on ▁ the ▁ Line " ) NEW_LINE DEDENT