Question: I'm using Python 2.7, and I get this error. Post code using this same editor that works if possible thank you. codingground Execute Python Online

I'm using Python 2.7, and I get this error. Post code using this same editor that works if possible thank you.

I'm using Python 2.7, and I get this error. Post code using

codingground Execute Python Online (Python v2.7.13) Fork A. Proje 1.li Result Execute > Share main.py STDIN 1. def ispalindrome(string): string = string. Lower Ist = list(string) low = 0 high = len(lst)-1 while(low high): if(lst[low] !=lst[high]): return false Low+=1 10 high-=1 return True Spython main.py Enter string: Traceback (most recent call last): File "main.py", line 20, in main() File "main.py", line 14, in main string = input("Enter string:") EOFError: EOF when reading a line 600 VOU 14 13 - def maino: string = input("Enter string: ") 15 if(isPalindrome (string)): print(string, "is a palindrome") else: print(string,"is NOT a palindrome") 17. 20 maino

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!