Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT arr = [ 9 , 2 , 3 , 4 , 18 , 7 , 7 , 6 ] NEW_LINE size = len ( arr ) NEW_LINE N = 5 NEW_LINE if ( checkEvenSum ( arr , N , size ) ) : NEW_LINE INDENT print ( " Yes " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " No " ) NEW_LINE DEDENT DEDENT