Question: palindrome.py Create a program, palindrome.py, that has a function that takes one string argument and prints a sentence indicating if the text is a palindrome.


palindrome.py Create a program, palindrome.py, that has a function that takes one string argument and prints a sentence indicating if the text is a palindrome. The function should consider only the alphanumeric characters in the string, and not depend on capitalization, punctuation, or whitespace. If your string is a palindrome it should print: It's a palindrome! If it is not a palindrome, it should print: It's not a palindrome
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
