Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

More Books

Students also viewed these Databases questions

Question

What are hate crimes?

Answered: 1 week ago

Question

BPR always involves automation. Group of answer choices True False

Answered: 1 week ago

Question

e. What are notable achievements of the group?

Answered: 1 week ago