Page 1 of 1

Write a function A palindrome is a word, phrase, or sequence that reads the same backward as forward. Write a function i

Posted: Tue May 24, 2022 8:02 am
by answerhappygod
Write A Function A Palindrome Is A Word Phrase Or Sequence That Reads The Same Backward As Forward Write A Function I 1
Write A Function A Palindrome Is A Word Phrase Or Sequence That Reads The Same Backward As Forward Write A Function I 1 (191.48 KiB) Viewed 25 times
Write a function A palindrome is a word, phrase, or sequence that reads the same backward as forward. Write a function is_palindrome that verifies if a word is a palindrome. The function should work with the following code: word=input("Please, enter a palindrome: ") if is_palidrome (word): print(f"The word {word} is a palindrome.") else: print(f"The word {word} is not a palindrome.") your code starts here

What does your code snippet print when you enter "hello"?