Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT arr = [ 5 , 1 , 2 , 4 , 3 ] NEW_LINE L = 5 NEW_LINE R = 8 NEW_LINE N = len ( arr ) NEW_LINE print ( countPairSum ( arr , L , R , N ) ) NEW_LINE DEDENT