def _isRightTurn((p, q, r)):
    "Do the vectors pq:qr form a right turn, or not?"

    assert p != q and q != r and p != r
            
    if _myDet(p, q, r) < 0:
	return 1
    else:
        return 0
Do the vectors pq:qr form a right turn, or not?
recipes/Python/66527_Finding_convex_hull_set_2D/recipe-66527.py