Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python 2.7 What is my error? codingground Execute Python Online (Python v2.7.13) Fork & Project - Edit- 1.li Result w Execute > Share main.py STDIN

Python 2.7 What is my error?

image text in transcribed

codingground Execute Python Online (Python v2.7.13) Fork & Project - Edit- 1.li Result w Execute > Share main.py STDIN 1- def ispalindrome (string): string = string. Lower 1st = list(string) low = 0 high = len(1st)-1 while(low main() File "main.py", line 14, in main string = raw_input("Enter string: ") EOFError: EOF when reading a line Covo 13. def maino: string - raw_input("Enter string: ") 15 - if(isPalindrome (string)): print(string,"is a palindrome") 17. else: print(string,"is NOT a palindrome") main()

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

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions

Question

What type of user alert is generated by the Notify shape

Answered: 1 week ago

Question

The Nature of Nonverbal Communication

Answered: 1 week ago

Question

Functions of Nonverbal Communication

Answered: 1 week ago

Question

Nonverbal Communication Codes

Answered: 1 week ago