Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT rectangle = [ [ 0 , 0 ] , [ 0 , 5 ] , [ 5 , 0 ] , [ 5 , 5 ] ] NEW_LINE points = [ [ 1 , 2 ] , [ 3 , 4 ] ] NEW_LINE N = len ( points ) NEW_LINE print ( cntRect ( points , N , rectangle ) ) NEW_LINE DEDENT