Question: python language. can u please let me know why theres an error? and how the best way we can solve it? thank you! #Write your
python language.
can u please let me know why theres an error? and how the best way we can solve it?
thank you!
#Write your code here def is_palindrome(text): rev = text[::-1] if rev == text: print(text,'is a palindrome') else: print(text, 'is not a palindrome') inp = input('Enter a text:') is_palindrome (inp) TypeError Traceback (most recent call last)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
