Answer to Question #221388 in Python for Hari nadh babu

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

1
Expert's answer
2021-08-04T10:10:16-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS