Question #221388

Palindrome - 2


This Program name is Palindrome - 2. Write a Python program to Palindrome - 2, it has two test cases


The below link contains Palindrome - 2 question, explanation and test cases


https://drive.google.com/file/d/1j4ZI4ICjvLPbHyB-v2SQ7ncojkMyheBD/view?usp=sharing


We need exact output when the code was run

Expert's answer

word = input().lower()

if word == word[::-1]:
    print('True')
else:
    print('False')

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS