Problem Description
A = "the fastest racecar"
Input 2:
A = "wow mom"
1
Output 2:
2
The word "racecar" is only a palindromic word in the sentence "the fastest racecar".
Explanation 2:
The words "wow" and "mom" both are palindromic word in the sentence "wow mom".
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.