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
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"?
What does your code snippet print when you enter "hello"?