if the is k - palindrome then we check if it is a ( k + 1 ) - palindrome or not by just sending any of one half of the to the Count_k_Palindrome def .
countKPalindromes ( i , mid , k + 1 ) ; NEW_LINE def printKPalindromes ( s ) : NEW_LINE global P , Kpal , MAX_STR_LEN ; NEW_LINE