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
word = input().lower()
if word == word[::-1]:
print('True')
else:
print('False')
Comments
Leave a comment