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 with AI-Powered 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

Students also viewed these Databases questions

Question

What type of user alert is generated by the Notify shape

Answered: 1 week ago