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!python language. can u please let me know why theres an error?

#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) in () 7 print(text, 'is not a palindrome') 8 -> 9 inp = input('Enter a text:') 10 is_palindrome (inp) TypeError: 'str' object is not callable

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!