Take as input S, a string. Write a program that gives the count of substrings of this string which are palindromes and Print the ans.
Take as input S, a string. Write a program that gives the count of substrings of this string which are palindromes and Print the ans.