Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT N = 2 NEW_LINE arr = [ [ 0 , 0 ] , [ 0 , 1 ] , [ 0 , 2 ] , [ 1 , 0 ] , [ 1 , 1 ] , [ 1 , 2 ] , [ 2 , 0 ] , [ 2 , 1 ] , [ 2 , 2 ] ] NEW_LINE findPoint ( N , arr ) NEW_LINE DEDENT