[text] Q Write a program to check whether a word is palindrome or not. include iostream using namespace std int main diomeme i string wordl string word2 cout Enter the word cin wordl cout Enter it in the reverse order cin word2 ifwordl.compareword2 0 cout wordl is palindrome else cout wordl is not palindrome
in Python