Driver code
arr = [ 4 , 2 , 3 , 7 , 6 ] NEW_LINE K = 2 ; NEW_LINE n = len ( arr ) NEW_LINE if ( fun ( arr , n , K ) ) : NEW_LINE INDENT print ( " yes " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " no " ) NEW_LINE DEDENT